diff options
author | David Robillard <d@drobilla.net> | 2008-10-18 19:35:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-18 19:35:40 +0000 |
commit | fce0d9b48a4ed24f92c674258b810668f73e54e0 (patch) | |
tree | 010733206270699f1b6bd36a4b0c9da9cf0cc9b7 | |
parent | 6e553cd02e3d708761e40b2710b2cc5f2edde974 (diff) | |
download | lilv-fce0d9b48a4ed24f92c674258b810668f73e54e0.tar.gz lilv-fce0d9b48a4ed24f92c674258b810668f73e54e0.tar.bz2 lilv-fce0d9b48a4ed24f92c674258b810668f73e54e0.zip |
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
-rw-r--r-- | wscript | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -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) |