]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fallback to clang in PATH with meson
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 27 Jul 2024 10:53:11 +0000 (13:53 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 27 Jul 2024 10:54:38 +0000 (13:54 +0300)
commit23be5206327cc09a870db346545f7a6a9e2485b3
tree511d6b6200c56b693dd094a592b2162803d4b649
parentcc90d7823a6e888f5a50b98367b315a055d16895
Fallback to clang in PATH with meson

Some distributions put clang into a different path than the llvm
binary path.

For example, this is the case on NixOS / nixpkgs, which failed to find
clang with meson before this patch.

Author: Wolfgang Walther
Reviewed-by: Nazir Bilal Yavuz, Alvaro Herrera, Peter Eisentraut
Reviewed-by: Tristan Partin
Discussion: https://www.postgresql.org/message-id/ca8f37e1-a2c3-40e2-91f6-59c3d3652ad4@technowledgy.de
Backpatch: 16-, where meson support was added
meson.build