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-007vFF-CP@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/489ca33081c8f590a314d4a09d9bee56a81f1a85

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