diff options
author | David Robillard <d@drobilla.net> | 2021-01-03 20:29:03 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-03 21:18:16 +0100 |
commit | 13d7c055c456d4b187e97b5909614939b87ff5c5 (patch) | |
tree | d7c12c3c84717a545810dcddaed5073f7932c2f3 /wscript | |
parent | 32b00be75b5d1cf33d5c8b25b7c6448249943ce6 (diff) | |
download | lilv-13d7c055c456d4b187e97b5909614939b87ff5c5.tar.gz lilv-13d7c055c456d4b187e97b5909614939b87ff5c5.tar.bz2 lilv-13d7c055c456d4b187e97b5909614939b87ff5c5.zip |
Fix build with MinGW
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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, |