mirror of
https://github.com/postgres/postgres.git
synced 2025-06-18 00:02:37 -04:00
libpq: Fix pkg-config without OpenSSL
Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is not enabled. Oversight in beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb. 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:
parent
479b69a4a5
commit
465ab24296
@ -95,7 +95,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 libpq-refs-stamp
|
all: all-lib libpq-refs-stamp
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user