From a08b1544bc5f767ccb6263313806af742ea6a6a1 Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 14 Oct 2012 21:41:19 +0200 Subject: staticbuild: tell libtool to not hardcode library paths --- scripts/static_build.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/static_build.sh b/scripts/static_build.sh index 46e82e9a..f46ec8aa 100755 --- a/scripts/static_build.sh +++ b/scripts/static_build.sh @@ -13,6 +13,7 @@ cd ../../ export APBUILD_STATIC_LIBGCC=1 CC=$AP/apgcc CXX=$AP/apgcc ./configure --enable-staticlink --disable-artwork-imlib2 --enable-ffmpeg --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 -- cgit v1.2.3