diff options
author | waker <wakeroid@gmail.com> | 2012-10-14 21:41:19 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-10-14 21:41:19 +0200 |
commit | a08b1544bc5f767ccb6263313806af742ea6a6a1 (patch) | |
tree | e263af36e0b844d7875011d25340b028776e22f9 /scripts | |
parent | 939c053d0e57ca5f5cad5e586071650a3a683ec3 (diff) |
staticbuild: tell libtool to not hardcode library paths
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/static_build.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |