jdk/make/java/net/Makefile
changeset 5780 3f7be5f312ae
parent 5506 202f599c92aa
child 6525 56be41b86ef8
--- a/jdk/make/java/net/Makefile	Thu Jun 10 14:21:37 2010 -0700
+++ b/jdk/make/java/net/Makefile	Thu Jun 10 15:54:25 2010 -0700
@@ -96,7 +96,7 @@
 ifeq ($(PLATFORM), windows)
   OTHER_LDLIBS = ws2_32.lib $(JVMLIB)
 else
-  OTHER_LDLIBS = $(LIBSOCKET) -lnsl -ldl $(JVMLIB)
+  OTHER_LDLIBS = $(LIBSOCKET) $(LIBNSL) -ldl $(JVMLIB)
 endif
 ifeq ($(PLATFORM), linux)
   OTHER_LDLIBS += -lpthread