jdk/make/common/shared/Defs-macosx.gmk
changeset 13567 b124faa29aef
parent 12047 320a714614e9
child 14342 8435a30053c1
--- a/jdk/make/common/shared/Defs-macosx.gmk	Thu Aug 09 17:49:43 2012 +0200
+++ b/jdk/make/common/shared/Defs-macosx.gmk	Wed Aug 15 14:35:36 2012 +0100
@@ -143,6 +143,11 @@
   _CUPS_HEADERS_PATH=$(PACKAGE_PATH)/include
 endif
 
+# Set ZLIB_LIBS if not already set
+ifeq ("$(ZLIB_LIBS)", "")
+  ZLIB_LIBS=-lz
+endif
+
 # Import JDK images allow for partial builds, components not built are
 #    imported (or copied from) these import areas when needed.