meson: Make detection of python more robust
authorAndres Freund <andres@anarazel.de>
Fri, 20 Oct 2023 18:11:31 +0000 (11:11 -0700)
committerAndres Freund <andres@anarazel.de>
Fri, 20 Oct 2023 18:11:31 +0000 (11:11 -0700)
commit41da94fd5c7418838ec7c49456b69c462013ea57
tree2591125606e0cdc93d8be7977b4243d6224c15c7
parent52f22cd4e894ea2ff6a8c497ef4268b2726a9da9
meson: Make detection of python more robust

Previously we errored out if no python installation could be found (but we did
handle not having enough of python installed to build plpython
against). Presumably nobody hit this so far, as python is likely installed due
to meson requiring python.

Author: Tristan Partin <tristan@neon.tech>
Discussion: https://postgr.es/m/CSPIJVUDZFKX.3KHMOAVGF94RV@c3po
Backpatch: 16-, where meson support was added
meson.build