summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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']