summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-07-12 08:19:40 +0200
committerDavid Robillard <d@drobilla.net>2018-09-15 18:52:30 +0200
commit90607ce5875c5b940b663ba1b589b53422a1b8ed (patch)
treee374e4df78006e3a8c40b25d6911f0a095dd829d /wscript
parent13e80b05b7d57021b2ae70e08f252bcae2f53fd2 (diff)
downloadlilv-90607ce5875c5b940b663ba1b589b53422a1b8ed.tar.gz
lilv-90607ce5875c5b940b663ba1b589b53422a1b8ed.tar.bz2
lilv-90607ce5875c5b940b663ba1b589b53422a1b8ed.zip
Don't build lv2apply and lv2bench with --no-utils
Diffstat (limited to 'wscript')
-rw-r--r--wscript16
1 files changed, 8 insertions, 8 deletions
diff --git a/wscript b/wscript
index 57ef231..68d4614 100644
--- a/wscript
+++ b/wscript
@@ -423,14 +423,14 @@ def build(bld):
for i in utils.split():
build_util(bld, i, defines)
- if bld.env.HAVE_SNDFILE:
- 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:
- obj = build_util(bld, 'utils/lv2bench', defines)
- if not bld.env.MSVC_COMPILER and not bld.env.DEST_OS == 'darwin':
- obj.lib = ['rt']
+ if bld.env.HAVE_SNDFILE:
+ 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:
+ obj = build_util(bld, 'utils/lv2bench', defines)
+ if bld.env.DEST_OS != 'win32' and bld.env.DEST_OS != 'darwin':
+ obj.lib = ['rt']
# Documentation
autowaf.build_dox(bld, 'LILV', LILV_VERSION, top, out)