Update waf2.x "subst" feature uses obj attributes

This commit is contained in:
Robin Gareus 2020-01-25 06:20:16 +01:00
parent 7c381dab6e
commit 4fe3036495
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
8 changed files with 8 additions and 10 deletions

View File

@ -52,9 +52,7 @@ def build(bld):
obj.target = 'ardour-vst-scanner'
obj.chmod = Utils.O755
obj.install_path = os.path.join(bld.env['LIBDIR'])
obj.dict = {
'VERSION' : bld.env['VERSION'],
}
obj.VERSION = bld.env['VERSION']
obj = bld (features = 'c cxx cxxprogram wine')
obj.source = (

View File

@ -32,7 +32,7 @@ def build(bld):
obj.target = '../../LV2/%s/%s' % (bundle, i)
obj.install_path = '${LV2DIR}/%s' % bundle
obj.chmod = Utils.O644
obj.dict = {'LIB_EXT': module_ext}
obj.LIB_EXT = module_ext
# Build plugin library
obj = bld(features = 'c cshlib',

View File

@ -32,7 +32,7 @@ def build(bld):
obj.target = '../../LV2/%s/%s' % (bundle, i)
obj.install_path = '${LV2DIR}/%s' % bundle
obj.chmod = Utils.O644
obj.dict = {'LIB_EXT': module_ext}
obj.LIB_EXT = module_ext
# Build plugin library
obj = bld(features = 'c cshlib',

View File

@ -32,7 +32,7 @@ def build(bld):
obj.target = '../../LV2/%s/%s' % (bundle, i)
obj.install_path = '${LV2DIR}/%s' % bundle
obj.chmod = Utils.O644
obj.dict = {'LIB_EXT': module_ext}
obj.LIB_EXT = module_ext
# Build plugin library
obj = bld(features = 'c cshlib',

View File

@ -32,7 +32,7 @@ def build(bld):
obj.target = '../../LV2/%s/%s' % (bundle, i)
obj.install_path = '${LV2DIR}/%s' % bundle
obj.chmod = Utils.O644
obj.dict = {'LIB_EXT': module_ext}
obj.LIB_EXT = module_ext
# Build plugin library
obj = bld(features = 'c cshlib',

View File

@ -31,7 +31,7 @@ def build(bld):
obj.target = '../../LV2/%s/%s' % (bundle, i)
obj.install_path = '${LV2DIR}/%s' % bundle
obj.chmod = Utils.O644
obj.dict = {'LIB_EXT': module_ext}
obj.LIB_EXT = module_ext
# Build plugin library
obj = bld(features = 'cxx cshlib',

View File

@ -31,7 +31,7 @@ def build(bld):
obj.target = '../../LV2/%s/%s' % (bundle, i)
obj.install_path = '${LV2DIR}/%s' % bundle
obj.chmod = Utils.O644
obj.dict = {'LIB_EXT': module_ext}
obj.LIB_EXT = module_ext
# Build plugin library
obj = bld(features = 'c cshlib',

View File

@ -31,7 +31,7 @@ def build(bld):
obj.target = '../../LV2/%s/%s' % (bundle, i)
obj.install_path = '${LV2DIR}/%s' % bundle
obj.chmod = Utils.O644
obj.dict = {'LIB_EXT': module_ext}
obj.LIB_EXT = module_ext
# Build plugin library
obj = bld(features = 'c cshlib',