summaryrefslogtreecommitdiff
path: root/scripts/portable_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/portable_build.sh')
-rwxr-xr-xscripts/portable_build.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/portable_build.sh b/scripts/portable_build.sh
index 6a047023..3a11ea99 100755
--- a/scripts/portable_build.sh
+++ b/scripts/portable_build.sh
@@ -1,9 +1,10 @@
#!/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
@@ -22,5 +23,3 @@ cd tools/pluginfo
make
cd ../../
-./scripts/portable_postbuild.sh
-