From e12717942cf5295d2a10bf1fd8330ef10eabc345 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 14 Apr 2019 22:45:55 +0200 Subject: Support building in a recursive project --- wscript | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index cb97c54..c86a5cd 100644 --- a/wscript +++ b/wscript @@ -99,10 +99,12 @@ def configure(conf): if conf.env.BUILD_PLUGINS: for i in conf.path.ant_glob('plugins/*.lv2', src=False, 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) + conf.recurse(i.bldpath()) + conf.env.LV2_BUILD += [i.bldpath()] + except Exception as e: + Logs.warn('Configuration failed, not building %s (%s)' % (i, e)) + + autowaf.set_lib_env(conf, 'lv2', VERSION, has_objects=False) autowaf.display_summary( conf, -- cgit v1.2.1