mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +03:00
Add postgres_inc to meson check for Python.h
Required for Cygwin. Backpatch to release 16.
This commit is contained in:
parent
b188e1bf75
commit
a13c7ee87b
@ -1069,7 +1069,7 @@ if not pyopt.disabled()
|
|||||||
if python3_inst.found()
|
if python3_inst.found()
|
||||||
python3_dep = python3_inst.dependency(embed: true, required: pyopt)
|
python3_dep = python3_inst.dependency(embed: true, required: pyopt)
|
||||||
# Remove this check after we depend on Meson >= 1.1.0
|
# 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
|
python3_dep = not_found_dep
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user