mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
icu: fix build after create_wrksrc
This commit is contained in:
parent
8ddadb705c
commit
c522b98410
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue