summaryrefslogtreecommitdiff
path: root/scripts/portable_build.sh
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-30 22:49:35 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-30 22:49:35 +0200
commit033b84f76016c3c58bcfcf8750883c4526218161 (patch)
treea7ba06ac48d6bd84cba72de67e6367f8601b51eb /scripts/portable_build.sh
parent38670c492e60b6f6a2d826b2057dc9dd27a90f9b (diff)
small fix to ao makefile
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