From c522b9841010d3ec20867dae19ee66ec339a0718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 28 Oct 2022 11:59:06 +0700 Subject: [PATCH] icu: fix build after create_wrksrc --- srcpkgs/icu/template | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/srcpkgs/icu/template b/srcpkgs/icu/template index 06d3eb15f19..3a0b3b2b2f4 100644 --- a/srcpkgs/icu/template +++ b/srcpkgs/icu/template @@ -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.