aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-synth.lv2/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-08 20:38:32 +0000
committerDavid Robillard <d@drobilla.net>2012-08-08 20:38:32 +0000
commit409a3d0d0cd2bd5fb5af13ee64a4f138827043b0 (patch)
tree701cf5bea1cfdf9a164eac8f419a583146cf094f /plugins/eg-synth.lv2/wscript
parent1454463494ac7b7caa6c8db130192d5dc3fab34f (diff)
downloadlv2-409a3d0d0cd2bd5fb5af13ee64a4f138827043b0.tar.xz
Tidy up wscript files.
Diffstat (limited to 'plugins/eg-synth.lv2/wscript')
-rw-r--r--plugins/eg-synth.lv2/wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/eg-synth.lv2/wscript b/plugins/eg-synth.lv2/wscript
index 5813fb8..170a77b 100644
--- a/plugins/eg-synth.lv2/wscript
+++ b/plugins/eg-synth.lv2/wscript
@@ -19,7 +19,7 @@ def configure(conf):
autowaf.configure(conf)
autowaf.display_header('Synth Configuration')
- if conf.env['MSVC_COMPILER']:
+ if conf.env.MSVC_COMPILER:
conf.env.append_unique('CFLAGS', ['-TP', '-MD'])
else:
conf.env.append_unique('CFLAGS', '-std=c99')
@@ -27,14 +27,14 @@ def configure(conf):
if not autowaf.is_child():
autowaf.check_pkg(conf, 'lv2', uselib_store='LV2')
- autowaf.display_msg(conf, "LV2 bundle directory", conf.env['LV2DIR'])
+ autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR)
print('')
def build(bld):
bundle = APPNAME
# Make a pattern for shared objects without the 'lib' prefix
- module_pat = re.sub('^lib', '', bld.env['cshlib_PATTERN'])
+ module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
module_ext = module_pat[module_pat.rfind('.'):]
# Build manifest.ttl by substitution (for portable lib extension)
@@ -65,4 +65,4 @@ def build(bld):
install_path = '${LV2DIR}/%s' % bundle,
uselib = 'LV2',
includes = includes)
- obj.env['cshlib_PATTERN'] = module_pat
+ obj.env.cshlib_PATTERN = module_pat