Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit beff361

Browse files
committed
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
1 parent 4fff515 commit beff361

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/interfaces/libpq/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ SHLIB_PREREQS = submake-libpgport
8989

9090
SHLIB_EXPORTS = exports.txt
9191

92+
PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto
93+
9294
all: all-lib
9395

9496
# Shared library stuff

0 commit comments

Comments
 (0)