make/common/shared/Defs-solaris.gmk

Print this page

        

@@ -138,10 +138,15 @@
 # Always build headless on Solaris
 BUILD_HEADLESS = true
 
 _CUPS_HEADERS_PATH=/opt/sfw/cups/include
 
+# 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, linux-586, etc.