use product-neutral name for LV2 install dir
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 22 Jan 2015 02:20:07 +0000 (21:20 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 22 Jan 2015 02:20:15 +0000 (21:20 -0500)
wscript

diff --git a/wscript b/wscript
index 89505484572faf032e7df97ad32ff3088f17f34a..11725623f883d4f0305246df1d2a763323ae3ddc 100644 (file)
--- a/wscript
+++ b/wscript
@@ -747,7 +747,7 @@ def configure(conf):
     if Options.options.lv2dir:
         conf.env['LV2DIR'] = Options.options.lv2dir
     else:
-        conf.env['LV2DIR'] = os.path.join(conf.env['LIBDIR'], 'ardour' + str(conf.env['MAJOR']), 'lv2')
+        conf.env['LV2DIR'] = os.path.join(conf.env['LIBDIR'], lwrcase_dirname, 'lv2')
 
     conf.env['LV2DIR'] = os.path.normpath(conf.env['LV2DIR'])