diff options
Diffstat (limited to 'plugins/eg-params.lv2')
-rw-r--r-- | plugins/eg-params.lv2/wscript | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/plugins/eg-params.lv2/wscript b/plugins/eg-params.lv2/wscript index f618898..4a7d7a5 100644 --- a/plugins/eg-params.lv2/wscript +++ b/plugins/eg-params.lv2/wscript @@ -20,8 +20,7 @@ def configure(conf): conf.load('lv2', cache=True) conf.load('autowaf', cache=True) - if not autowaf.is_child(): - autowaf.check_pkg(conf, 'lv2', atleast_version='1.12.1', uselib_store='LV2') + autowaf.check_pkg(conf, 'lv2', atleast_version='1.12.1', uselib_store='LV2') def build(bld): bundle = 'eg-params.lv2' @@ -45,17 +44,11 @@ def build(bld): target = '%s/%s' % (bundle, i), install_path = '${LV2DIR}/%s' % bundle) - # Use LV2 headers from parent directory if building as a sub-project - includes = ['.'] - if autowaf.is_child: - includes += ['../..'] - # Build plugin library obj = bld(features = 'c cshlib', source = 'params.c', name = 'params', target = '%s/params' % bundle, install_path = '${LV2DIR}/%s' % bundle, - use = 'LV2', - includes = includes) + use = 'LV2') obj.env.cshlib_PATTERN = module_pat |