diff options
author | waker <wakeroid@gmail.com> | 2012-05-08 22:04:07 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-05-08 22:04:07 +0200 |
commit | 66e1c991c111b4438841b263d160f2e83c66b910 (patch) | |
tree | 66d7d2202939a89e40df7776da06e24464e32f9e /scripts/static_build.sh | |
parent | d82ea1fea56d9d77dc047cbfd61fe126b5f0e2eb (diff) |
build scripts update
Diffstat (limited to 'scripts/static_build.sh')
-rwxr-xr-x | scripts/static_build.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/static_build.sh b/scripts/static_build.sh index e7a0bacc..250b29e8 100755 --- a/scripts/static_build.sh +++ b/scripts/static_build.sh @@ -4,10 +4,19 @@ ORIGIN=`pwd | perl -ne 'chomp and print'` AP=$ORIGIN/tools/apbuild ARCH=`uname -m | perl -ne 'chomp and print'` +cd tools/apbuild +./apinit +cd ../../ + ./autogen.sh export APBUILD_STATIC_LIBGCC=1 -CC=$AP/apgcc CXX=$AP/apgcc ./configure --enable-staticlink=yes --disable-artwork-imlib2 --prefix=/opt/deadbeef +CC=$AP/apgcc CXX=$AP/apgcc ./configure --enable-staticlink --disable-artwork-imlib2 --prefix=/opt/deadbeef sed -i 's/-lstdc++ -lm -lgcc_s -lc -lgcc_s/-lm -lc/g' libtool +make clean make DESTDIR=`pwd`/static/$ARCH/deadbeef-$VERSION -j8 install +echo "building pluginfo tool..." +cd tools/pluginfo +make +cd ../../ |