audio/clam_voice2midi: Fix compile issue.

This commit is contained in:
B. Watson 2015-11-27 02:28:10 -05:00 committed by Willy Sudiarto Raharjo
parent 667ac44ba8
commit 04ccb9625f
2 changed files with 4 additions and 2 deletions

View file

@ -4,6 +4,8 @@
# Written by B. Watson (yalhcru@gmail.com)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=clam_voice2midi
VERSION=${VERSION:-0.3.10}
BUILD=${BUILD:-2}
@ -67,7 +69,7 @@ patch -p1 < $CWD/fix_undelinking.patch
CCFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
scons \
scons $MAKEFLAGS \
prefix=/usr \
release=yes \
clam_prefix=/usr

View file

@ -6,7 +6,7 @@ diff -Naur Voice2MIDI-0.3.10.orig/SConstruct Voice2MIDI-0.3.10/SConstruct
if sys.platform == 'darwin' :
extralinkFlags=['-dynamic','-bind_at_load']
+if sys.platform == 'linux2' :
+ extralinkFlags=['-lGL']
+ extralinkFlags=['-lGL', '-lpthread']
programs = []
for main in mainSources.items() :