From 90607ce5875c5b940b663ba1b589b53422a1b8ed Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Jul 2018 08:19:40 +0200 Subject: Don't build lv2apply and lv2bench with --no-utils --- wscript | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'wscript') 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) -- cgit v1.2.1