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 "