summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-21 23:29:12 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-21 23:29:12 +0200
commit15d98cd37da896ad209e2abbcf40422d46f09973 (patch)
treeaae0ca2760784b2d48b5e97e3ef7f8c693519d19 /scripts
parent60e78c36b5e665d2ccd7b830d4c3b4b578ccbd87 (diff)
static build fixes
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/portable_package_static.sh1
-rwxr-xr-xscripts/portable_postbuild.sh2
-rwxr-xr-xscripts/static_build.sh6
3 files changed, 5 insertions, 4 deletions
diff --git a/scripts/portable_package_static.sh b/scripts/portable_package_static.sh
index bbac7f1a..641609b9 100755
--- a/scripts/portable_package_static.sh
+++ b/scripts/portable_package_static.sh
@@ -70,6 +70,7 @@ tar jcvf ../../portable_out/build/$OUTNAME\
$PLUGDIR/dsp_libsrc.so\
$PLUGDIR/ddb_mono2stereo.so\
$PLUGDIR/alac.so\
+ $PLUGDIR/wma.so\
$PIXMAPDIR\
$SRCDIR/locale
cd ../..
diff --git a/scripts/portable_postbuild.sh b/scripts/portable_postbuild.sh
index c1de99c7..540db99d 100755
--- a/scripts/portable_postbuild.sh
+++ b/scripts/portable_postbuild.sh
@@ -21,7 +21,7 @@ for i in nullout cdda flac alsa mpgmad hotkeys vtx \
lastfm sid adplug sndfile artwork alac \
supereq gme dumb notify musepack wildmidi \
tta dca aac mms shn ao shellexec shellexecui vfs_zip \
- m3u converter pulse dsp_libsrc mono2stereo ; do
+ m3u converter pulse dsp_libsrc mono2stereo wma ; do
if [ -f ./plugins/$i/.libs/$i.so ]; then
cp ./plugins/$i/.libs/$i.so $PLUGDIR/
elif [ -f ./plugins/$i/$i.so ]; then
diff --git a/scripts/static_build.sh b/scripts/static_build.sh
index 77e4e1d4..97138285 100755
--- a/scripts/static_build.sh
+++ b/scripts/static_build.sh
@@ -8,13 +8,13 @@ cd tools/apbuild
./apinit
cd ../../
-./autogen.sh
-
export APBUILD_STATIC_LIBGCC=1
export CC=$AP/apgcc
export CXX=$AP/apgcc
-./configure --enable-staticlink --disable-artwork-imlib2 --disable-gtk3 --prefix=/opt/deadbeef
+./autogen.sh
+
+./configure --enable-staticlink --disable-artwork-imlib2 --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