]> git.ipfire.org Git - thirdparty/postgresql.git/commit
meson: Improve/fix Python version selection
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 30 Nov 2023 06:22:51 +0000 (07:22 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 30 Nov 2023 06:27:54 +0000 (07:27 +0100)
commit1f5e38847b26265c15bf367de516b46491c3a7c3
tree6d1716e95313078072abbb5c020578cb4136e0aa
parent2d758dca1b31baed43c3f17ea742bee6a9ed7dbd
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@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/3f5427e8-cef6-474d-ae88-13db1bfdc1a7%40eisentraut.org
meson.build