1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

libpq: Fix pkg-config without OpenSSL

Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is
not enabled.  Oversight in beff361bc1.

Author: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com
This commit is contained in:
Peter Eisentraut
2022-04-01 17:12:56 +02:00
parent 9f9489aa2e
commit 7a27892750

View File

@ -94,7 +94,9 @@ SHLIB_PREREQS = submake-libpgport
SHLIB_EXPORTS = exports.txt SHLIB_EXPORTS = exports.txt
ifeq ($(with_ssl),openssl)
PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto
endif
all: all-lib all: all-lib