aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-15 11:36:31 +0200
committerDavid Robillard <d@drobilla.net>2019-04-15 11:36:31 +0200
commita067ddf2ed79d6e1a9fc65a9ce229df8fd6c4e1b (patch)
tree4f5ff238e65c93550eb5a7ed5602b54ec027e399
parentdca1019e9dcf7685f6ef32dd170ef4e8ee390c15 (diff)
downloadlv2-a067ddf2ed79d6e1a9fc65a9ce229df8fd6c4e1b.tar.xz
Avoid globbing for bundled plugins
-rw-r--r--wscript13
1 files changed, 10 insertions, 3 deletions
diff --git a/wscript b/wscript
index c86a5cd..9e18fd4 100644
--- a/wscript
+++ b/wscript
@@ -97,10 +97,17 @@ def configure(conf):
autowaf.set_recursive()
if conf.env.BUILD_PLUGINS:
- for i in conf.path.ant_glob('plugins/*.lv2', src=False, dir=True):
+ for i in ['eg-amp.lv2',
+ 'eg-fifths.lv2',
+ 'eg-metro.lv2',
+ 'eg-midigate.lv2',
+ 'eg-params.lv2',
+ 'eg-sampler.lv2',
+ 'eg-scope.lv2']:
try:
- conf.recurse(i.bldpath())
- conf.env.LV2_BUILD += [i.bldpath()]
+ path = os.path.join('plugins', i)
+ conf.recurse(path)
+ conf.env.LV2_BUILD += [path]
except Exception as e:
Logs.warn('Configuration failed, not building %s (%s)' % (i, e))