summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2020-03-02 15:31:29 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2020-03-02 15:31:29 +0800
commit2b6cc806a54b853980fae8b36f7af0d568a4950f (patch)
tree8f244d6b707670b5e6b85e00e975a3580d2cb1a6 /tools
parent5691f7db4b7b82be3d99225b03756598aeb88dbb (diff)
downloadglibmm-2b6cc806a54b853980fae8b36f7af0d568a4950f.tar.gz
tools: Use POSIX-style path for m4 in gmmproc
Otherwise the script gets confused as the slashes were not escaped
Diffstat (limited to 'tools')
-rw-r--r--tools/meson.build2
1 files changed, 1 insertions, 1 deletions
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(