summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-07-15 11:21:57 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-07-15 11:24:40 +0100
commit9306ada4fdd2c00813c7ea088cd6fb5003ccd352 (patch)
tree59ac01635262925767456fe9601327a921e83b03
parent683809d5f751575775d12917581eb7b9a2acf0f5 (diff)
downloadglib-9306ada4fdd2c00813c7ea088cd6fb5003ccd352.tar.gz
meson: fix 'Unknown variable "gtester"' error on windows
With msys64/mingw.
-rw-r--r--glib/tests/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/tests/meson.build b/glib/tests/meson.build
index 6b7e323d1..f11869eb9 100644
--- a/glib/tests/meson.build
+++ b/glib/tests/meson.build
@@ -169,7 +169,7 @@ executable('test-spawn-echo', 'test-spawn-echo.c',
)
# some testing of gtester functionality
-if not meson.is_cross_build() and meson.version().version_compare('> 0.37.9')
+if not meson.is_cross_build() and host_system != 'windows'
xmllint = find_program('xmllint')
if xmllint.found()
tmpsample_xml = custom_target('tmpsample.xml',