aboutsummaryrefslogtreecommitdiffstats
path: root/core.lv2/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-27 07:03:28 +0000
committerDavid Robillard <d@drobilla.net>2011-03-27 07:03:28 +0000
commit89a922d7b5fcd2f8e18c7a601bfa26e63528ab17 (patch)
tree5f30a777d1f56bfb4e5128317b5297d68d494a9d /core.lv2/wscript
parent6b06a65d2219e0231361470b0f26e9bed2fc500f (diff)
downloadlv2-89a922d7b5fcd2f8e18c7a601bfa26e63528ab17.tar.xz
Fix compilation on Windows.
Diffstat (limited to 'core.lv2/wscript')
-rw-r--r--core.lv2/wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/core.lv2/wscript b/core.lv2/wscript
index e98377b..9934cef 100644
--- a/core.lv2/wscript
+++ b/core.lv2/wscript
@@ -30,7 +30,7 @@ def configure(conf):
lv2core_dir_sep = '/'
if sys.platform == 'win32':
lv2core_path_sep = ';'
- lv2core_dir_sep = '\\'
+ lv2core_dir_sep = '\\\\'
autowaf.define(conf, 'LV2CORE_PATH_SEP', lv2core_path_sep)
autowaf.define(conf, 'LV2CORE_DIR_SEP', lv2core_dir_sep)
@@ -48,7 +48,7 @@ def configure(conf):
'~/.lv2',
'/boot/common/add-ons/lv2'])
elif Options.platform == 'win32':
- Options.options.default_lv2_path = 'C:\\Program Files\\LV2'
+ Options.options.default_lv2_path = 'C:\\\\Program Files\\\\LV2'
else:
Options.options.default_lv2_path = lv2core_path_sep.join([
'~/.lv2',
@@ -92,7 +92,7 @@ def build(bld):
source = 'lv2config.c serd-0.1.0.c',
target = 'lv2config',
install_path = '${BINDIR}',
- cflags = '-std=c99')
+ cflags = ['-std=c99', '-U__STRICT_ANSI__'])
# Man page
bld.install_files('${MANDIR}/man1', 'lv2config.1')