aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2024-06-13 07:30:10 -0400
committerAndrew Dunstan <andrew@dunslane.net>2024-06-13 07:31:34 -0400
commit11b9b8ce44a8cc80cbef6ade2b5ae7438227da79 (patch)
tree6c3d795adc1ff0766d00beacf2fa466a63bd3b0d
parenta41106dab72cbcaa02fce8bda8965d04e85f2d3a (diff)
downloadpostgresql-11b9b8ce44a8cc80cbef6ade2b5ae7438227da79.tar.gz
postgresql-11b9b8ce44a8cc80cbef6ade2b5ae7438227da79.zip
Add postgres_inc to meson check for Python.h
Required for Cygwin. Backpatch to release 16.
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index f9279c837dd..2767abd19e2 100644
--- a/meson.build
+++ b/meson.build
@@ -1063,7 +1063,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