summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-15 08:41:46 +0000
committerDavid Robillard <d@drobilla.net>2010-12-15 08:41:46 +0000
commit3e70fbbb1c2344daa80e2910601cb9f5af435362 (patch)
tree830b29cf68a5a31715d4a24312f8f4d7a03db5cd /wscript
parent0a041d4314ce72ae21fce7a227125a79205069e9 (diff)
downloadlilv-3e70fbbb1c2344daa80e2910601cb9f5af435362.tar.gz
lilv-3e70fbbb1c2344daa80e2910601cb9f5af435362.tar.bz2
lilv-3e70fbbb1c2344daa80e2910601cb9f5af435362.zip
Fix default LV2_PATH on Haiku.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2710 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 3c13955..b818ccd 100644
--- a/wscript
+++ b/wscript
@@ -69,7 +69,7 @@ def configure(conf):
if Options.platform == 'darwin':
Options.options.default_lv2_path = "~/Library/Audio/Plug-Ins/LV2:/Library/Audio/Plug-Ins/LV2:~/.lv2:/usr/local/lib/lv2:/usr/lib/lv2"
elif Options.platform == 'haiku':
- Options.options.default_lv2_path = "~/Library/Audio/Plug-Ins/LV2:/Library/Audio/Plug-Ins/LV2:~/.lv2:/usr/local/lib/lv2:/usr/lib/lv2"
+ Options.options.default_lv2_path = "~/.lv2:/boot/common/add-ons/lv2"
else:
Options.options.default_lv2_path = "~/.lv2:/usr/local/" + conf.env['LIBDIRNAME'] + '/lv2:' + conf.env['LIBDIR'] + '/lv2'
@@ -82,7 +82,7 @@ def configure(conf):
autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/event/event.h', 'HAVE_LV2_EVENT')
autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/uri-map/uri-map.h', 'HAVE_LV2_URI_MAP')
conf.env['USE_JACK'] = conf.env['HAVE_LV2_EVENT'] and conf.env['HAVE_LV2_URI_MAP']
-
+
conf.write_config_header('slv2-config.h')
autowaf.display_msg(conf, "Jack clients", str(conf.env['USE_JACK'] == 1))