Skip to content

Commit eeeccd2

Browse files
committed
fix icu
1 parent 01222e6 commit eeeccd2

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

sources.wasm/libicu.sh

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ then
1010
echo ok
1111
else
1212
wget -c https://github.com/unicode-org/icu/releases/download/release-75-1/icu4c-75_1-src.tgz
13-
tar xf icu4c-75_1-src.tgz
13+
tar xfz icu4c-75_1-src.tgz
1414
fi
1515

1616
if [ -f $PREFIX/lib/libicui18n.a ]
@@ -23,11 +23,19 @@ else
2323
mkdir -p $ROOT/build/libicu
2424

2525
pushd $ROOT/build/libicu
26-
emconfigure ../../src/icu/source/configure --prefix=$PREFIX \
26+
if emconfigure ../../src/icu/source/configure --prefix=$PREFIX \
2727
--disable-shared --enable-static \
2828
--disable-samples --disable-tests --disable-tools \
2929
--disable-extras --disable-draft
30-
emmake make install
30+
then
31+
emmake make install
32+
else
33+
echo "
34+
35+
failed to build ICU
36+
37+
"
38+
exit 38
3139
popd
3240
fi
3341

0 commit comments

Comments
 (0)