Skip to content

Commit

Permalink
emscripten build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hugeping committed Jan 30, 2024
1 parent 12680f2 commit 72178eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contrib/instead-em-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ fi
# zlib
cd $WORKSPACE
if ! test -r .stamp_zlib; then
rm -rf zlib-1.3/
[ -f zlib-1.3.tar.gz ] || wget -nv 'http://zlib.net/zlib-1.3.tar.gz'
tar xf zlib-1.3.tar.gz
cd zlib-1.3
rm -rf zlib-1.3.1/
[ -f zlib-1.3.1.tar.gz ] || wget -nv 'http://zlib.net/zlib-1.3.1.tar.gz'
tar xf zlib-1.3.1.tar.gz
cd zlib-1.3.1
emconfigure ./configure --prefix=$WORKSPACE
emmake make install
touch ../.stamp_zlib
Expand Down

0 comments on commit 72178eb

Please sign in to comment.