jdk/make/common/shared/Defs-linux.gmk
changeset 13567 b124faa29aef
parent 8901 6f226af63661
child 14342 8435a30053c1
--- a/jdk/make/common/shared/Defs-linux.gmk	Thu Aug 09 17:49:43 2012 +0200
+++ b/jdk/make/common/shared/Defs-linux.gmk	Wed Aug 15 14:35:36 2012 +0100
@@ -129,6 +129,11 @@
 BUILD_HEADLESS = true
 LIBM=-lm
 
+# Set ZLIB_LIBS if not already set
+ifeq ("$(ZLIB_LIBS)", "")
+  ZLIB_LIBS=-lz
+endif
+
 # GCC29_COMPILER_PATH: is the path to where the gcc 2.9 compiler is installed
 #  NOTE: Must end with / so that it could be empty, allowing PATH usage.
 ifdef ALT_GCC29_COMPILER_PATH