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/[email protected]
Backpatch: 16-, where meson support was added

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a32ffeebfa63dd3e6ee8f9498a7e59ebd8abba8d

Modified Files
--------------
meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Reply via email to