summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/wscript b/wscript
index db4a1bd..dd4beb7 100644
--- a/wscript
+++ b/wscript
@@ -266,7 +266,11 @@ def configure(conf):
lv2_path = lilv_path_sep.join(['~/.lv2',
'/usr/%s/lv2' % libdirname,
'/usr/local/%s/lv2' % libdirname])
- conf.define('LILV_DEFAULT_LV2_PATH', lv2_path.replace('%', '%%'))
+
+ if sys.platform == 'win32':
+ lv2_path = lv2_path.replace('%', '%%')
+
+ conf.define('LILV_DEFAULT_LV2_PATH', lv2_path)
# Set up environment for building/using as a subproject
autowaf.set_lib_env(conf, 'lilv', LILV_VERSION,