[glibmm/kjellahl/meson-build-master] tools: Use POSIX-style path for m4 in gmmproc
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/kjellahl/meson-build-master] tools: Use POSIX-style path for m4 in gmmproc
- Date: Mon, 2 Mar 2020 09:37:44 +0000 (UTC)
commit 2b6cc806a54b853980fae8b36f7af0d568a4950f
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Mar 2 15:31:29 2020 +0800
tools: Use POSIX-style path for m4 in gmmproc
Otherwise the script gets confused as the slashes were not escaped
tools/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/meson.build b/tools/meson.build
index f1288171..6a204f31 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -15,7 +15,7 @@ gmmproc_conf_data.set('prefix', install_prefix)
gmmproc_conf_data.set('exec_prefix', '${prefix}')
gmmproc_conf_data.set('libdir', '${exec_prefix}' / install_libdir)
gmmproc_conf_data.set('GLIBMM_MODULE_NAME', glibmm_pcname)
-gmmproc_conf_data.set('M4', m4.found() ? m4.path() : '')
+gmmproc_conf_data.set('M4', m4.found() ? '/'.join(m4.path().split('\\')) : '')
gmmproc_conf_data.set('PACKAGE_VERSION', meson.project_version())
configure_file(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]