From 1f6684237c1711858c4853016131a70a6ef0edf9 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 4 Jan 2013 21:46:29 +0000 Subject: [PATCH] fix builds on newer gcc/ld git-svn-id: svn://localhost/ardour2/branches/3.0@13778 d708f5d6-7413-0410-9779-e7cbd77b26cf --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index a358b962a3..fc9b87748a 100644 --- a/wscript +++ b/wscript @@ -600,7 +600,7 @@ def configure(conf): autowaf.check_pkg(conf, 'giomm-2.4', uselib_store='GIOMM', atleast_version='2.2') autowaf.check_pkg(conf, 'libcurl', uselib_store='CURL', atleast_version='7.0.0') - conf.check_cc(function_name='dlopen', header_name='dlfcn.h', linkflags='-ldl', uselib_store='DL') + conf.check_cc(function_name='dlopen', header_name='dlfcn.h', lib='dl', uselib_store='DL') # Tell everyone that this is a waf build