jdk/make/common/Program.gmk
changeset 13599 8c59681645f0
parent 13542 93873f8b6528
parent 13567 b124faa29aef
child 13679 966380e1094f
--- a/jdk/make/common/Program.gmk	Tue Aug 28 12:20:26 2012 -0700
+++ b/jdk/make/common/Program.gmk	Tue Aug 28 12:24:33 2012 -0700
@@ -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