From 10bed39091e9f622aeca150aff3e9a2ff1a14e54 Mon Sep 17 00:00:00 2001 From: pmp-p Date: Tue, 20 Aug 2024 13:28:24 +0200 Subject: [PATCH] fix and move libicu to extra --- {sources.wasm => sources.extra}/3000-libxml2-libicu.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename {sources.wasm => sources.extra}/3000-libxml2-libicu.sh (69%) diff --git a/sources.wasm/3000-libxml2-libicu.sh b/sources.extra/3000-libxml2-libicu.sh similarity index 69% rename from sources.wasm/3000-libxml2-libicu.sh rename to sources.extra/3000-libxml2-libicu.sh index b992503..11a70e8 100755 --- a/sources.wasm/3000-libxml2-libicu.sh +++ b/sources.extra/3000-libxml2-libicu.sh @@ -21,15 +21,16 @@ then already built in $PREFIX/lib/ " else - mkdir -p $PREFIX/lib/icu mkdir -p $ROOT/build/libicu - pushd $ROOT/build/libicu - if emconfigure ../../src/icu/source/configure --prefix=$PREFIX \ + if emconfigure $ROOT/src/icu/source/configure --prefix=$PREFIX \ --disable-shared --enable-static \ --disable-samples --disable-tests --disable-tools \ --disable-extras --disable-draft then + [ -f ./common/Makefile.patched ] && rm ./common/Makefile.patched + grep -v DDEFAULT_ICU_PLUGINS ./common/Makefile > ./common/Makefile.patched + rm ./common/Makefile && ln ./common/Makefile.patched ./common/Makefile emmake make install else echo "