aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-06 19:47:16 +0000
committerDavid Robillard <d@drobilla.net>2012-08-06 19:47:16 +0000
commit78768ff9ff3d7c1d8683ed86382a73e328df260e (patch)
tree8b98c27546bc1fca12d97b24d3c42cc527f7da0d /wscript
parent41a14d4a9a07d85b915737063102f401cf15d5c5 (diff)
downloadlv2-78768ff9ff3d7c1d8683ed86382a73e328df260e.tar.xz
Fix building when some plugins fail to configure.
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/wscript b/wscript
index 709bdef..1eaa5f5 100644
--- a/wscript
+++ b/wscript
@@ -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)