aboutsummaryrefslogtreecommitdiff
path: root/test cases/frameworks
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-05-07 16:58:22 -0400
committerXavier Claessens <xclaesse@gmail.com>2020-05-11 18:02:37 -0400
commit245d659522fd73857bf7f4e83bd572d9cdcd7469 (patch)
tree2b745c9ff1f4665a0fe22271fbb8ef54f084e1c0 /test cases/frameworks
parent630a00374600bffedbabb8ef623e16bed52f21c4 (diff)
downloadmeson-245d659522fd73857bf7f4e83bd572d9cdcd7469.zip
meson-245d659522fd73857bf7f4e83bd572d9cdcd7469.tar.gz
meson-245d659522fd73857bf7f4e83bd572d9cdcd7469.tar.bz2
ConfigToolDependency: Don't fallback to system tool when cross compiling
The system tool is always the wrong thing to use and cause hard to debug issues when trying to link system libraries with cross built binaries. The ExternalDependency base class already had a method to deal with this, used by PkgConfigDependency and QtBaseDependency, so it should make things more consistent.
Diffstat (limited to 'test cases/frameworks')
-rw-r--r--test cases/frameworks/21 libwmf/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/frameworks/21 libwmf/meson.build b/test cases/frameworks/21 libwmf/meson.build
index 6952bf7..9dbab6a 100644
--- a/test cases/frameworks/21 libwmf/meson.build
+++ b/test cases/frameworks/21 libwmf/meson.build
@@ -1,7 +1,7 @@
project('libwmf test', 'c')
wm = find_program('libwmf-config', required : false)
-if not wm.found()
+if not wm.found() or meson.is_cross_build()
error('MESON_SKIP_TEST: libwmf-config not installed')
endif