From 38416afb8e2d7fe432e0f8610a458e2429d17ece Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 28 Oct 2010 23:19:12 +0000 Subject: Move -ldl to from ccflags to ldflags. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2656 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index 625aad5..84980a4 100644 --- a/wscript +++ b/wscript @@ -121,7 +121,8 @@ def build(bld): obj.target = 'slv2' obj.vnum = SLV2_LIB_VERSION obj.install_path = '${LIBDIR}' - obj.ccflags = [ '-ldl', '-fvisibility=hidden', '-DSLV2_SHARED', '-DSLV2_INTERNAL' ] + obj.ccflags = [ '-fvisibility=hidden', '-DSLV2_SHARED', '-DSLV2_INTERNAL' ] + obj.ldflags = [ '-ldl' ] autowaf.use_lib(bld, obj, 'REDLAND LV2CORE') if bld.env['BUILD_TESTS']: -- cgit v1.2.1