Skip to content

Commit 7a27892

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 9f9489a commit 7a27892

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/interfaces/libpq/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ SHLIB_PREREQS = submake-libpgport
9494

9595
SHLIB_EXPORTS = exports.txt
9696

97+
ifeq ($(with_ssl),openssl)
9798
PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto
99+
endif
98100

99101
all: all-lib
100102

0 commit comments

Comments
 (0)