summaryrefslogtreecommitdiff
path: root/external/postgresql/UnpackedTarball_postgresql.mk
diff options
context:
space:
mode:
Diffstat (limited to 'external/postgresql/UnpackedTarball_postgresql.mk')
-rw-r--r--external/postgresql/UnpackedTarball_postgresql.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/external/postgresql/UnpackedTarball_postgresql.mk b/external/postgresql/UnpackedTarball_postgresql.mk
index 3d0fe6cf6c26..2e41bf66d806 100644
--- a/external/postgresql/UnpackedTarball_postgresql.mk
+++ b/external/postgresql/UnpackedTarball_postgresql.mk
@@ -19,4 +19,10 @@ $(eval $(call gb_UnpackedTarball_add_patches,postgresql, \
external/postgresql/postgresql-9.2.1-libreoffice.patch \
))
+ifeq ($(SYSTEM_ZLIB),)
+$(eval $(call gb_UnpackedTarball_add_patches,postgresql, \
+ external/postgresql/internal-zlib.patch.1 \
+))
+endif
+
# vim: set noet sw=4 ts=4: