summaryrefslogtreecommitdiff
path: root/package/Library_package2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/Library_package2.mk')
-rw-r--r--package/Library_package2.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/Library_package2.mk b/package/Library_package2.mk
index fcb7b6225932..223e280d2830 100644
--- a/package/Library_package2.mk
+++ b/package/Library_package2.mk
@@ -88,4 +88,10 @@ $(eval $(call gb_Library_add_exception_objects,package2,\
package/source/zippackage/ZipPackageStream \
))
+ifeq ($(SYSTEM_ZLIB),YES)
+$(eval $(call gb_Library_add_defs,package2,\
+ -DSYSTEM_ZLIB \
+))
+endif
+
# vim: set noet sw=4 ts=4: