meson: Improve PG_VERSION_STR generation

Andres Freund <andres@anarazel.de>

Commit: fc7852c6cb89a5384e0b4ad30874de92f63f88be
Author: Andres Freund <andres@anarazel.de>
Date: 2022-12-09T16:54:47Z
Releases: 16.0
meson: Improve PG_VERSION_STR generation

Previously the host operating system and 32/64 bit were not included and the
build machine's cpu was used, which is potentially wrong for cross builds.

Author: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CAC+AXB16gwYhKCdS+t0pk3U7kKtpVj5L-ynmhK3Gbea330At3w@mail.gmail.com

Files

PathChange+/−
meson.build modified +10 −2

Discussion