summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'):