]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix use of OPENSSL in SSL tests if command is not found
authorMichael Paquier <michael@paquier.xyz>
Wed, 8 Nov 2023 08:29:22 +0000 (17:29 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 8 Nov 2023 08:29:22 +0000 (17:29 +0900)
commit2a08dda29128472879cf4f70bc06806595505def
tree9c2e17136d7409be6c6e42c1396ba0facb3f8802
parent4dccf9575369410f0c853e6f1b0b0579c8ec1c05
Fix use of OPENSSL in SSL tests if command is not found

`openssl` is an optional dependency in the meson build as it may not be
installed in an environment even if SSL libraries are around.  The meson
scripts assume that, but the SSL tests thought that it was a hard
dependency, causing a meson installation to fail if `openssl` could not
be found.  Like similar tests that depend on external commands, and to
be consistent with ./configure for the SSL tests, this commit makes the
command existence optional in the tests.

Author: Tristan Partin
Discussion: https://postgr.es/m/CWSX6P5OUUM5.N7B74KQ06ZP6@neon.tech
Backpatch-through: 16
src/test/ssl/meson.build