summaryrefslogtreecommitdiff
path: root/test cases/python/4 custom target depends extmodule/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/python/4 custom target depends extmodule/meson.build')
-rw-r--r--test cases/python/4 custom target depends extmodule/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/python/4 custom target depends extmodule/meson.build b/test cases/python/4 custom target depends extmodule/meson.build
index 38353772c..ccccdafbe 100644
--- a/test cases/python/4 custom target depends extmodule/meson.build
+++ b/test cases/python/4 custom target depends extmodule/meson.build
@@ -3,6 +3,10 @@ project('Python extension module', 'c',
# Because Windows Python ships only with optimized libs,
# we must build this project the same way.
+if meson.backend() != 'ninja'
+ error('MESON_SKIP_TEST: Ninja backend required')
+endif
+
py_mod = import('python')
py3 = py_mod.find_installation()
py3_dep = py3.dependency(required : false)