From fce0d9b48a4ed24f92c674258b810668f73e54e0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Oct 2008 19:35:40 +0000 Subject: Don't attempt to build Jack clients if Jack isn't found. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1678 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index ce328a0..2aef967 100644 --- a/wscript +++ b/wscript @@ -103,13 +103,14 @@ def build(bld): hosts/lv2_jack_host hosts/lv2_simple_jack_host ''' - for i in hosts.split(): - obj = bld.create_obj('cc', 'program') - obj.source = i + '.c' - obj.includes = '.' - obj.uselib = 'JACK' - obj.uselib_local = 'libslv2' - obj.target = i + if bld.env()['HAVE_JACK']: + for i in hosts.split(): + obj = bld.create_obj('cc', 'program') + obj.source = i + '.c' + obj.includes = '.' + obj.uselib = 'JACK' + obj.uselib_local = 'libslv2' + obj.target = i # Documentation autowaf.build_dox(bld, 'SLV2', SLV2_VERSION, srcdir, blddir) -- cgit v1.2.1