]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Revert "Fix meson build with -Duuid=ossp when using version older than 0.60"
authorMichael Paquier <michael@paquier.xyz>
Mon, 22 Sep 2025 00:04:20 +0000 (09:04 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 22 Sep 2025 00:04:20 +0000 (09:04 +0900)
This reverts commit 5f565b0aee90 temporarily on v18.  This branch is in
a release freeze state until tagged.  Let's re-add this commit once the
release is out.  The other branches are left untouched.

Discussion: https://postgr.es/m/2775358.1758498584@sss.pgh.pa.us

meson.build

index a15686cc4e30d04c565cad2e3253f5f8505662a5..973e8890bbd595005c2878e20fe3a4acc4964127 100644 (file)
@@ -1579,10 +1579,7 @@ if uuidopt != 'none'
   elif uuidopt == 'ossp'
     # In upstream, the package and library is called just 'uuid', but many
     # distros change it to 'ossp-uuid'.
-    uuid = dependency('ossp-uuid', required: false)
-    if not uuid.found()
-      uuid = dependency('uuid', required: false)
-    endif
+    uuid = dependency('ossp-uuid', 'uuid', required: false)
     uuidfunc = 'uuid_export'
     uuidheader = 'uuid.h'