pgsql: Fix use of OPENSSL in SSL tests if command is not found

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix use of OPENSSL in SSL tests if command is not found
Дата
Msg-id E1r0dwx-004SL0-Si@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2a08dda29128472879cf4f70bc06806595505def

Modified Files
--------------
src/test/ssl/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Enlarge assertion in bloom_init() for false_positive_rate
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Don't install ldap_password_func in meson