diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2020-04-11 14:18:06 -0700 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2020-04-26 10:21:04 -0700 |
commit | 1647f69283eea8f762d3d27f19deac925a83d005 (patch) | |
tree | 7d25eab567d6231cad42d850e116ad8401e82ed6 /meson.build | |
parent | a9f45431684e6be3623e272e54d481e4c5d9423d (diff) | |
download | gobject-introspection-1647f69283eea8f762d3d27f19deac925a83d005.tar.gz |
build: Check Python.h and fail early if not present
Checking the Python dependency doesn't ensure the header is present.
That needs to be checked separately.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 892f9c3c..f66d926e 100644 --- a/meson.build +++ b/meson.build @@ -152,6 +152,9 @@ endif libffi_dep = dependency('libffi', fallback : ['libffi', 'ffi_dep']) +# python headers +cc.check_header('Python.h', dependencies: [python.dependency()], required: true) + # cairo cairo_option = get_option('cairo') if cc.get_id() == 'msvc' |