pgsql: Fix PL/Python build on MSVC with older Meson

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix PL/Python build on MSVC with older Meson
Date: 2026-01-16 16:30:10
Message-ID: E1vgmi9-000pH0-2j@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)green(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/0de98c41-4145-44c1-aac5-087cf5b3e4a9%40gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6831cd9e3b082d7b830c3196742dd49e3540c49b

Modified Files
--------------
meson.build | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2026-01-16 21:29:47 Re: failed NUMA pages inquiry status: Operation not permitted
Previous Message Heikki Linnakangas 2026-01-16 13:13:36 pgsql: Fix crash in test function on removable_cutoff(NULL)