pgsql: meson: Improve/fix Python version selection

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: Improve/fix Python version selection
Date: 2023-11-30 06:29:16
Message-ID: E1r8aY0-007vFG-Cx@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

meson: Improve/fix Python version selection

When we look for the Python installation using the meson python
module, we should make it use the python program previously determined
by the 'PYTHON' option. Otherwise, it will just use its own search
and the 'PYTHON' option won't affect it. We need this to be able to
select the Python installation to build PL/Python against.

Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://www.postgresql.org/message-id/flat/3f5427e8-cef6-474d-ae88-13db1bfdc1a7%40eisentraut.org

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1f5e38847b26265c15bf367de516b46491c3a7c3

Modified Files
--------------
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message John Naylor 2023-11-30 08:29:18 pgsql: Remove redundant setting of hashkey after insertion
Previous Message Michael Paquier 2023-11-30 05:43:03 Re: pgsql: Read include/exclude commands for dump/restore from file