fix build of postgresql with bundled zlib

Change-Id: I8a1a8b8e1437d79d4c262cb8521a1239c250699e
This commit is contained in:
David Tardon
2016-11-03 17:38:23 +01:00
parent b5c566fd10
commit 6287b17ce7
3 changed files with 39 additions and 0 deletions

View File

@@ -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