diff options
author | David Robillard <d@drobilla.net> | 2012-08-06 19:47:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-06 19:47:16 +0000 |
commit | 78768ff9ff3d7c1d8683ed86382a73e328df260e (patch) | |
tree | 8b98c27546bc1fca12d97b24d3c42cc527f7da0d | |
parent | 41a14d4a9a07d85b915737063102f401cf15d5c5 (diff) | |
download | lv2-78768ff9ff3d7c1d8683ed86382a73e328df260e.tar.xz |
Fix building when some plugins fail to configure.
-rw-r--r-- | wscript | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -63,10 +63,12 @@ def configure(conf): conf.recurse('lv2/lv2plug.in/ns/lv2core') + conf.env['LV2_BUILD'] = ['lv2/lv2plug.in/ns/lv2core'] if conf.env['BUILD_PLUGINS']: for i in conf.path.ant_glob('plugins/*', dir=True): try: conf.recurse(i.srcpath()) + conf.env['LV2_BUILD'] += [i.srcpath()] except: Logs.warn('Configuration failed, %s will not be built\n' % i) @@ -298,9 +300,8 @@ def build(bld): build_ext(bld, i.srcpath()) # Build plugins - if bld.env['BUILD_PLUGINS']: - for i in bld.path.ant_glob('plugins/*', dir=True): - bld.recurse(i.srcpath()) + for i in bld.env['LV2_BUILD']: + bld.recurse(i) if bld.env['DOCS']: # Build Doxygen documentation (and tags file) |