diff options
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 |