diff options
Diffstat (limited to 'scripts/portable_build.sh')
-rwxr-xr-x | scripts/portable_build.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/portable_build.sh b/scripts/portable_build.sh index 6a047023..89f2d1ca 100755 --- a/scripts/portable_build.sh +++ b/scripts/portable_build.sh @@ -1,14 +1,15 @@ #!/bin/sh VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` ORIGIN=`pwd | perl -ne 'chomp and print'` -AP=$HOME/bin/autopackage -export CC=$AP/apbuild/apgcc -export CXX=$AP/apbuild/apgcc +AP=$ORIGIN/tools/apbuild +export CC=$AP/apgcc +export CXX=$AP/apgcc + export APBUILD_STATIC_LIBGCC=1 ./autogen.sh -./configure --enable-staticlink --enable-portable --disable-artwork-imlib2 +./configure --enable-staticlink=yes --enable-portable=yes --disable-artwork-imlib2 sed -i 's/-lstdc++ -lm -lgcc_s -lc -lgcc_s/-lm -lc/g' libtool make clean make -j9 |