Commit beff361b authored by Peter Eisentraut's avatar Peter Eisentraut

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: default avatarSandro Mani <manisandro@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/837d1dcf-2fca-ee6e-0d7e-6bce1a1bac75@gmail.com
parent 4fff515e
...@@ -89,6 +89,8 @@ SHLIB_PREREQS = submake-libpgport ...@@ -89,6 +89,8 @@ SHLIB_PREREQS = submake-libpgport
SHLIB_EXPORTS = exports.txt SHLIB_EXPORTS = exports.txt
PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto
all: all-lib all: all-lib
# Shared library stuff # Shared library stuff
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment