Add libpq's openssl dependencies to pkg-config file
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 10 Sep 2020 13:55:31 +0000 (15:55 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 10 Sep 2020 13:55:31 +0000 (15:55 +0200)
commitbeff361bc1edc24ee5f8b2073a1e5e4c92ea66eb
treef0946a823c54c4c44a141128dd823462390996b2
parent4fff515e9efff0053d50fc0b811612a4844b1c65
Add libpq's openssl dependencies to pkg-config file

Add libssl and libcrypto to libpq.pc's Requires.private.  This allows
static linking to work if those libssl or libcrypto themselves have
dependencies in their *.private fields, such as -lz in some cases.

Reported-by: Sandro Mani <manisandro@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/837d1dcf-2fca-ee6e-0d7e-6bce1a1bac75@gmail.com
src/interfaces/libpq/Makefile