icu: fix build after create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-28 11:59:06 +07:00 committed by Đoàn Trần Công Danh
parent 8ddadb705c
commit c522b98410

View file

@ -21,10 +21,6 @@ checksum=67a7e6e51f61faf1306b6935333e13b2c48abd8da6d2f46ce6adca24b1e21ebf
CFLAGS=-fPIC CFLAGS=-fPIC
CXXFLAGS=-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 # we will be managing icudata manually, because when cross-compiling for
# another endianness the output data is broken... fortunately, we can use # another endianness the output data is broken... fortunately, we can use
# icupkg to convert host-endianness data to target-endianness data # 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 mv ${wrksrc}/host-icu/sbin/* ${wrksrc}/host-icu/bin
make distclean make distclean
) )
configure_args+=" --with-cross-build=${wrksrc}/host-icu"
fi fi
# libicudata must be linked to libc, otherwise it's soft-float on ARM. # libicudata must be linked to libc, otherwise it's soft-float on ARM.