diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile index 89bf5e0126..b5fd72a4ac 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport SHLIB_EXPORTS = exports.txt +ifeq ($(with_ssl),openssl) PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto +endif all: all-lib libpq-refs-stamp