From 2e9ac80e998bc79d5ef9029415008198b22168dc Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 20 Jan 2020 23:08:11 +0100 Subject: Towards waf python 2+3 support --- libs/plugins/reasonablesynth.lv2/wscript | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libs/plugins/reasonablesynth.lv2') diff --git a/libs/plugins/reasonablesynth.lv2/wscript b/libs/plugins/reasonablesynth.lv2/wscript index 4b51891af2..73cbe6a089 100644 --- a/libs/plugins/reasonablesynth.lv2/wscript +++ b/libs/plugins/reasonablesynth.lv2/wscript @@ -23,15 +23,15 @@ def build(bld): module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN) module_ext = module_pat[module_pat.rfind('.'):] - if bld.is_defined ('HAVE_LV2'): + if bld.is_defined('HAVE_LV2'): # Build RDF files for i in ['manifest.ttl', 'reasonablesynth.ttl']: - bld(features = 'subst', - source = i + '.in', - target = '../../LV2/%s/%s' % (bundle, i), - install_path = '${LV2DIR}/%s' % bundle, - chmod = Utils.O644, - LIB_EXT = module_ext) + obj = bld(features='subst') + obj.source = i + '.in' + obj.target = '../../LV2/%s/%s' % (bundle, i) + obj.install_path = '${LV2DIR}/%s' % bundle + obj.chmod = Utils.O644 + obj.dict = {'LIB_EXT': module_ext} # Build plugin library obj = bld(features = 'c cshlib', -- cgit v1.2.3