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

Commit 465ab24

Browse files
committed
libpq: Fix pkg-config without OpenSSL
Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is not enabled. Oversight in beff361. Author: Fabrice Fontaine <fontaine.fabrice@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com
1 parent 479b69a commit 465ab24

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
@@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport
9595

9696
SHLIB_EXPORTS = exports.txt
9797

98+
ifeq ($(with_ssl),openssl)
9899
PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto
100+
endif
99101

100102
all: all-lib libpq-refs-stamp
101103

0 commit comments

Comments
 (0)