diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-10-21 21:38:51 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-10-21 21:38:51 +0200 |
commit | 60e78c36b5e665d2ccd7b830d4c3b4b578ccbd87 (patch) | |
tree | 34b591a18fb60eb4dfd2dbd47547c87f6e480f4e /scripts | |
parent | 5b9b643ae6f8553cbda7ad0a88b60bfdc1fd287b (diff) |
fixed static build of cdda
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/static_build.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/static_build.sh b/scripts/static_build.sh index 221de2f4..77e4e1d4 100755 --- a/scripts/static_build.sh +++ b/scripts/static_build.sh @@ -11,11 +11,15 @@ cd ../../ ./autogen.sh export APBUILD_STATIC_LIBGCC=1 -CC=$AP/apgcc CXX=$AP/apgcc ./configure --enable-staticlink --disable-artwork-imlib2 --prefix=/opt/deadbeef +export CC=$AP/apgcc +export CXX=$AP/apgcc + +./configure --enable-staticlink --disable-artwork-imlib2 --disable-gtk3 --prefix=/opt/deadbeef sed -i 's/-lstdc++ -lm -lgcc_s -lc -lgcc_s/-lm -lc/g' libtool sed -i 's/hardcode_into_libs=yes/hardcode_into_libs=no/g' libtool make clean -make DESTDIR=`pwd`/static/$ARCH/deadbeef-$VERSION -j8 install +make DESTDIR=`pwd`/static/$ARCH/deadbeef-$VERSION +make DESTDIR=`pwd`/static/$ARCH/deadbeef-$VERSION install echo "building pluginfo tool..." cd tools/pluginfo |