diff options
author | Peter Eisentraut | 2020-09-10 13:55:31 +0000 |
---|---|---|
committer | Peter Eisentraut | 2020-09-10 13:55:31 +0000 |
commit | beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb (patch) | |
tree | f0946a823c54c4c44a141128dd823462390996b2 | |
parent | 4fff515e9efff0053d50fc0b811612a4844b1c65 (diff) |
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 <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/[email protected]
-rw-r--r-- | src/interfaces/libpq/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile index d4919970f88..4ac5f4b340f 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -89,6 +89,8 @@ SHLIB_PREREQS = submake-libpgport SHLIB_EXPORTS = exports.txt +PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto + all: all-lib # Shared library stuff |