summaryrefslogtreecommitdiff
path: root/scripts/portable_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/portable_build.sh')
-rwxr-xr-xscripts/portable_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/portable_build.sh b/scripts/portable_build.sh
index 412db5fa..c3e396fc 100755
--- a/scripts/portable_build.sh
+++ b/scripts/portable_build.sh
@@ -12,7 +12,7 @@ sed -i 's/-lstdc++ -lm -lgcc_s -lc -lgcc_s/-lm -lc/g' libtool
make clean
make -j9
-#ZLIB_LIBS="$ORIGIN/lib-x86-32/libz.a"
+ZLIB_LIBS="$ORIGIN/lib-x86-32/libz.a"
CFLAGS="-I$ORIGIN/lib-x86-32/include"
for i in shn dumb ao ; do
@@ -20,7 +20,7 @@ for i in shn dumb ao ; do
cd $ORIGIN/plugins/$i
make clean
echo making $ORIGIN/plugins/$i
- make -j8 STATIC_CFLAGS="$CFLAGS" CC=$CC CXX=$CXX
+ make -j8 STATIC_CFLAGS="$CFLAGS" CC=$CC CXX=$CXX ZLIB_LIBS=$ZLIB_LIBS
done
cd $ORIGIN