Skip to content

Commit 11b9b8c

Browse files
committed
Add postgres_inc to meson check for Python.h
Required for Cygwin. Backpatch to release 16.
1 parent a41106d commit 11b9b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ if not pyopt.disabled()
10631063
if python3_inst.found()
10641064
python3_dep = python3_inst.dependency(embed: true, required: pyopt)
10651065
# Remove this check after we depend on Meson >= 1.1.0
1066-
if not cc.check_header('Python.h', dependencies: python3_dep, required: pyopt)
1066+
if not cc.check_header('Python.h', dependencies: python3_dep, required: pyopt, include_directories: postgres_inc)
10671067
python3_dep = not_found_dep
10681068
endif
10691069
endif

0 commit comments

Comments
 (0)