Skip to content

Commit

Permalink
fix icu
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Jul 30, 2024
1 parent 01222e6 commit eeeccd2
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions sources.wasm/libicu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand All @@ -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

Expand Down

0 comments on commit eeeccd2

Please sign in to comment.