icu: fix build after create_wrksrc
This commit is contained in:
parent
8ddadb705c
commit
c522b98410
@ -21,10 +21,6 @@ checksum=67a7e6e51f61faf1306b6935333e13b2c48abd8da6d2f46ce6adca24b1e21ebf
|
||||
CFLAGS=-fPIC
|
||||
CXXFLAGS=-fPIC
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args+=" --with-cross-build=${XBPS_BUILDDIR}/${wrksrc}/host-icu"
|
||||
fi
|
||||
|
||||
# we will be managing icudata manually, because when cross-compiling for
|
||||
# another endianness the output data is broken... fortunately, we can use
|
||||
# icupkg to convert host-endianness data to target-endianness data
|
||||
@ -57,6 +53,7 @@ pre_configure() {
|
||||
mv ${wrksrc}/host-icu/sbin/* ${wrksrc}/host-icu/bin
|
||||
make distclean
|
||||
)
|
||||
configure_args+=" --with-cross-build=${wrksrc}/host-icu"
|
||||
fi
|
||||
|
||||
# libicudata must be linked to libc, otherwise it's soft-float on ARM.
|
||||
|
Loading…
x
Reference in New Issue
Block a user