audio/clam_annotator: Fixed underlinking.

Exported CFLAGS like required by the scons script

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-16 09:59:15 +02:00 committed by dsomero
parent 1dc9f69592
commit 0b2db7a682

View file

@ -6,7 +6,7 @@
PRGNAM=clam_annotator
VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=Annotator
@ -63,15 +63,19 @@ find . \
export QTDIR=$QT4DIR
cd vmqt
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
CCFLAGS="$SLKCFLAGS" \
CPPLAGS="$SLKCFLAGS" \
scons clam_prefix=/usr prefix=/usr
cd -
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
# This is needed to fix underlinkg
echo "env.Append(LINKFLAGS=['-lGL'])" >> SConstruct
CCFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
scons \
prefix=/usr \
release=yes \
clam_prefix=/usr
scons install prefix=$PKG/usr