From b2de8180bcff49e450bd2e1affeb4b3cefaecd9e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 25 Dec 2013 04:40:28 +0000 Subject: Don't attempt to build static lv2bench as static since it needs -ldl (#919). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5199 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 7a18985..27fb9a8 100644 --- a/wscript +++ b/wscript @@ -352,7 +352,7 @@ def build(bld): build_util(bld, i, defines) # lv2bench (less portable than other utilities) - if bld.is_defined('HAVE_CLOCK_GETTIME'): + if bld.is_defined('HAVE_CLOCK_GETTIME') and not bld.env.STATIC_PROGS: obj = build_util(bld, 'utils/lv2bench', defines) if not bld.env.MSVC_COMPILER: obj.lib = ['rt'] -- cgit v1.2.1