Fix PL/Python build on MSVC with older Meson

Peter Eisentraut <peter@eisentraut.org>

Commit: 6831cd9e3b082d7b830c3196742dd49e3540c49b
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2026-01-16T16:25:05Z
Fix PL/Python build on MSVC with older Meson

Amendment for commit 2bc60f86219.  With older Meson versions, we need
to specify the Python include directory directly to cc.check_header
instead of relying on the dependency to pass it through.

Author: Bryan Green <dbryan.green@gmail.com>
Discussion: https://www.postgresql.org/message-id/0de98c41-4145-44c1-aac5-087cf5b3e4a9%40gmail.com

Files

PathChange+/−
meson.build modified +8 −3

Discussion

Cited messages not in the archive: 0de98c41-4145-44c1-aac5-087cf5b3e4a9@gmail.com