jdk/make/common/Program.gmk
changeset 13567 b124faa29aef
parent 13411 224a28370893
child 13599 8c59681645f0
--- a/jdk/make/common/Program.gmk	Thu Aug 09 17:49:43 2012 +0200
+++ b/jdk/make/common/Program.gmk	Wed Aug 15 14:35:36 2012 +0100
@@ -91,7 +91,7 @@
   LDFLAGS += $(OUTPUTDIR)/tmp/java/jli/$(OBJDIRNAME)/static/libjli.a
 
   ifeq ($(SYSTEM_ZLIB),true)
-    OTHER_LDLIBS += -lz
+    OTHER_LDLIBS += $(ZLIB_LIBS)
   endif
 endif