summaryrefslogtreecommitdiff
path: root/audio/speex/speex.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/speex/speex.SlackBuild')
-rw-r--r--audio/speex/speex.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/speex/speex.SlackBuild b/audio/speex/speex.SlackBuild
index e14b353bef..9a9c9f73c6 100644
--- a/audio/speex/speex.SlackBuild
+++ b/audio/speex/speex.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for speex
+# Copyright (c) 2012 Vliegendehuiskat
# Copyright (c) 2007 Alex Lysenka <me@alkos333.net>
# All rights reserved.
#
@@ -27,7 +28,7 @@
PRGNAM=speex
VERSION=1.2rc1
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -80,7 +81,8 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-static=no \
--build=$ARCH-slackware-linux
-make
+# Hack to also make it look in the right directory on multilib systems
+make LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \