summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/wscript b/wscript
index 9adf0aa..da63ebb 100644
--- a/wscript
+++ b/wscript
@@ -1,5 +1,6 @@
#!/usr/bin/env python
import autowaf
+import sys
import Options
# Version of this package (even if built as a child)
@@ -87,6 +88,13 @@ def configure(conf):
conf.env['BASH_COMPLETION'] = Options.options.bash_completion
autowaf.define(conf, 'SLV2_DEFAULT_LV2_PATH', Options.options.default_lv2_path)
+ if sys.platform == 'win32':
+ autowaf.define(conf, 'SLV2_PATH_SEP', ';')
+ autowaf.define(conf, 'SLV2_DIR_SEP', '\\')
+ else:
+ autowaf.define(conf, 'SLV2_PATH_SEP', ':')
+ autowaf.define(conf, 'SLV2_DIR_SEP', '/')
+
if conf.env['USE_JACK']:
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')