make/common/shared/Defs-macosx.gmk

Print this page

        

@@ -141,10 +141,15 @@
   _CUPS_HEADERS_PATH=/usr/include
 else
   _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.
 
 # BUILD_JDK_IMPORT_PATH: location of JDK install trees to import for 
 #   multiple platforms, e.g. windows-i586, solaris-sparc, bsd-586, etc.