From 643354169f409769bbdc15c9fdbcb5affe658090 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 26 Nov 2011 19:44:13 +0000 Subject: 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 --- wscript | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wscript') 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'): -- cgit v1.2.1