summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-17 14:52:28 +0200
committerDavid Robillard <d@drobilla.net>2019-10-17 14:52:28 +0200
commit5d5d2b96b1552b8ed8245765be6dc903fa5c5fd4 (patch)
tree0fcadffaedf2c126db41f7f408503d9e6817bbf6 /wscript
parent0b0a8b7f28107c821b2478742901f62989e1f237 (diff)
downloadlilv-5d5d2b96b1552b8ed8245765be6dc903fa5c5fd4.tar.gz
lilv-5d5d2b96b1552b8ed8245765be6dc903fa5c5fd4.tar.bz2
lilv-5d5d2b96b1552b8ed8245765be6dc903fa5c5fd4.zip
Don't try to build lv2bench for Windows
Diffstat (limited to 'wscript')
-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