summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/wscript b/wscript
index 21e1280..69e9c7f 100644
--- a/wscript
+++ b/wscript
@@ -417,9 +417,11 @@ def build(bld):
obj = build_util(bld, 'utils/lv2apply', defines, 'SNDFILE')
# lv2bench (less portable than other utilities)
- if bld.is_defined('HAVE_CLOCK_GETTIME') and not bld.env.STATIC_PROGS:
+ if (bld.env.DEST_OS != 'win32' and
+ bld.is_defined('HAVE_CLOCK_GETTIME') and
+ not bld.env.STATIC_PROGS):
obj = build_util(bld, 'utils/lv2bench', defines)
- if bld.env.DEST_OS != 'win32' and bld.env.DEST_OS != 'darwin':
+ if bld.env.DEST_OS != 'darwin':
obj.lib = ['rt']
# Documentation