From ebeded7339db781237d499bf8013717bc8c5ee4a Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Wed, 16 Sep 2020 04:30:40 +0900 Subject: [PATCH] meson: Always wrap "prefix" option with join_paths() to make Windows happy Both "\" and "/" separators are allowed on Windows but the problem is that "\" is not converted to "\\" in this case. It will result to unknown/unrecognized character escape sequence. Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 1824b0d8c4..5d1d329611 100644 --- a/meson.build +++ b/meson.build @@ -325,7 +325,7 @@ else get_option('libdir'), 'gio/modules')) core_conf.set_quoted('GIO_LIBDIR', join_paths(get_option('prefix'), get_option('libdir'))) - core_conf.set_quoted('GIO_PREFIX', get_option('prefix')) + core_conf.set_quoted('GIO_PREFIX', join_paths(get_option('prefix'))) endif configinc = include_directories('.')