mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
1dc9f69592
commit
0b2db7a682
1 changed files with 9 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue