We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 085e60f + 0aa9527 commit d04aa8bCopy full SHA for d04aa8b
1 file changed
libnvme/meson.build
@@ -15,7 +15,8 @@ if want_python != 'false'
15
python3 = import('python').find_installation('python3')
16
py3_dep = python3.dependency(required: want_python == 'true')
17
swig = find_program('swig', required: want_python == 'true')
18
- have_python_support = py3_dep.found() and swig.found()
+ header_found = cc.has_header('Python.h', dependencies: py3_dep)
19
+ have_python_support = py3_dep.found() and swig.found() and header_found
20
else
21
have_python_support = false
22
endif
0 commit comments