diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2024-06-13 07:30:10 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2024-06-13 07:32:18 -0400 |
commit | a13c7ee87b0ab31ecbf1a9e9302ee48b52d1cf9a (patch) | |
tree | e4abada55c7ceb240ecd56e6e7cb3536507be247 | |
parent | b188e1bf75760fed76406a48c81bcd8ac6a8fda9 (diff) |
Add postgres_inc to meson check for Python.h
Required for Cygwin.
Backpatch to release 16.
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index f23ea6eec2d..60025ac8b55 100644 --- a/meson.build +++ b/meson.build @@ -1069,7 +1069,7 @@ if not pyopt.disabled() if python3_inst.found() python3_dep = python3_inst.dependency(embed: true, required: pyopt) # Remove this check after we depend on Meson >= 1.1.0 - if not cc.check_header('Python.h', dependencies: python3_dep, required: pyopt) + if not cc.check_header('Python.h', dependencies: python3_dep, required: pyopt, include_directories: postgres_inc) python3_dep = not_found_dep endif endif |