From eeeccd2c5b27547afa1c86a69d0f57078eda7ca1 Mon Sep 17 00:00:00 2001 From: pmp-p Date: Tue, 30 Jul 2024 07:59:12 +0200 Subject: [PATCH] fix icu --- sources.wasm/libicu.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/sources.wasm/libicu.sh b/sources.wasm/libicu.sh index 75dcc41..9cc3b15 100755 --- a/sources.wasm/libicu.sh +++ b/sources.wasm/libicu.sh @@ -10,7 +10,7 @@ then echo ok else wget -c https://github.com/unicode-org/icu/releases/download/release-75-1/icu4c-75_1-src.tgz - tar xf icu4c-75_1-src.tgz + tar xfz icu4c-75_1-src.tgz fi if [ -f $PREFIX/lib/libicui18n.a ] @@ -23,11 +23,19 @@ else mkdir -p $ROOT/build/libicu pushd $ROOT/build/libicu - emconfigure ../../src/icu/source/configure --prefix=$PREFIX \ + if emconfigure ../../src/icu/source/configure --prefix=$PREFIX \ --disable-shared --enable-static \ --disable-samples --disable-tests --disable-tools \ --disable-extras --disable-draft - emmake make install + then + emmake make install + else + echo " + + failed to build ICU + +" + exit 38 popd fi