summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-26 19:44:13 +0000
committerDavid Robillard <d@drobilla.net>2011-11-26 19:44:13 +0000
commit643354169f409769bbdc15c9fdbcb5affe658090 (patch)
tree4ea07dee64743b8edc16dff7448d6763229d6c1c
parentac6c172e6485dcf3caf6f11271fb460e8b882c2a (diff)
downloadsuil-643354169f409769bbdc15c9fdbcb5affe658090.tar.gz
suil-643354169f409769bbdc15c9fdbcb5affe658090.tar.bz2
suil-643354169f409769bbdc15c9fdbcb5affe658090.zip
Use the more portable/correct lib instead of linkflags.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3647 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/wscript b/wscript
index 856bbbf..f8738e4 100644
--- a/wscript
+++ b/wscript
@@ -85,10 +85,10 @@ def build(bld):
cflags = [ '-DSUIL_SHARED',
'-DSUIL_INTERNAL' ]
- linkflags = []
+ lib = []
if sys.platform != 'win32':
- cflags += [ '-fvisibility=hidden' ]
- linkflags += [ '-ldl' ]
+ cflags += [ '-fvisibility=hidden' ]
+ lib += [ 'dl' ]
module_dir = '${LIBDIR}/suil-' + SUIL_MAJOR_VERSION
@@ -102,7 +102,7 @@ def build(bld):
vnum = SUIL_LIB_VERSION,
install_path = '${LIBDIR}',
cflags = cflags,
- linkflags = linkflags,
+ lib = lib,
uselib = 'LV2_UI')
if bld.is_defined('HAVE_GTK2') and bld.is_defined('HAVE_QT4'):