]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix meson build with -Duuid=ossp when using version older than 0.60
authorMichael Paquier <michael@paquier.xyz>
Sun, 21 Sep 2025 23:03:25 +0000 (08:03 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 23 Sep 2025 23:00:09 +0000 (08:00 +0900)
commit178bbf403cc51d912b50f8ad8ea318e42cc29f42
tree42f0c9ebe128418f1dc33f292c44c14c15062bf8
parent3d6a828938a5fa0444275d3d2f67b64ec3199eb7
Fix meson build with -Duuid=ossp when using version older than 0.60

The package for the UUID library may be named "uuid" or "ossp-uuid", and
meson.build has been using a single call of dependency() with multiple
names, something only supported since meson 0.60.0.

The minimum version of meson supported by Postgres is 0.57.2 on HEAD,
since f039c2244110, and 0.54 on stable branches down to 16.

Author: Oreo Yang <oreo.yang@hotmail.com>
Reviewed-by: Nazir Bilal Yavuz <byavuz81@gmail.com>
Discussion: https://postgr.es/m/OS3P301MB01656E6F91539770682B1E77E711A@OS3P301MB0165.JPNP301.PROD.OUTLOOK.COM
Backpatch-through: 16
meson.build