diff options
Diffstat (limited to 'external/postgresql/ExternalProject_postgresql.mk')
-rw-r--r-- | external/postgresql/ExternalProject_postgresql.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/external/postgresql/ExternalProject_postgresql.mk b/external/postgresql/ExternalProject_postgresql.mk index 42fa12f6dc43..11481117cf7e 100644 --- a/external/postgresql/ExternalProject_postgresql.mk +++ b/external/postgresql/ExternalProject_postgresql.mk @@ -31,6 +31,10 @@ else postgresql_CPPFLAGS := $(ZLIB_CFLAGS) postgresql_LDFLAGS := +ifeq ($(SYSTEM_ZLIB),) +postgresql_LDFLAGS += $(ZLIB_LIBS) +endif + ifeq ($(DISABLE_OPENSSL),) ifeq ($(SYSTEM_OPENSSL),) postgresql_CPPFLAGS += -I$(call gb_UnpackedTarball_get_dir,openssl)/include |