summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-25 04:40:28 +0000
committerDavid Robillard <d@drobilla.net>2013-12-25 04:40:28 +0000
commitb2de8180bcff49e450bd2e1affeb4b3cefaecd9e (patch)
tree4dc999cf32e4dcedf629f59a81b8354281d8fd44
parent16a4d3780c7e11a6ce2c07ba3d229c6cebc4d6ff (diff)
downloadlilv-b2de8180bcff49e450bd2e1affeb4b3cefaecd9e.tar.gz
lilv-b2de8180bcff49e450bd2e1affeb4b3cefaecd9e.tar.bz2
lilv-b2de8180bcff49e450bd2e1affeb4b3cefaecd9e.zip
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
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
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']