summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xwafbin88126 -> 86049 bytes
-rw-r--r--wscript5
2 files changed, 3 insertions, 2 deletions
diff --git a/waf b/waf
index 0a11b5b..ecd9f37 100755
--- a/waf
+++ b/waf
Binary files differ
diff --git a/wscript b/wscript
index a153541..03440fc 100644
--- a/wscript
+++ b/wscript
@@ -130,10 +130,11 @@ def configure(conf):
elif Options.platform == 'win32':
Options.options.default_lv2_path = 'C:\\Program Files\\LV2'
else:
+ libdirname = os.path.basename(conf.env['LIBDIR'])
Options.options.default_lv2_path = slv2_path_sep.join([
'~/.lv2',
- '/usr/%s/lv2' % conf.env['LIBDIRNAME'],
- '/usr/local/%s/lv2' % conf.env['LIBDIRNAME']])
+ '/usr/%s/lv2' % libdirname,
+ '/usr/local/%s/lv2' % libdirname])
autowaf.define(conf, 'SLV2_DEFAULT_LV2_PATH', Options.options.default_lv2_path)