jdk/make/jpda/transport/socket/Makefile
changeset 5780 3f7be5f312ae
parent 5506 202f599c92aa
child 7668 d4a77089c587
--- a/jdk/make/jpda/transport/socket/Makefile	Thu Jun 10 14:21:37 2010 -0700
+++ b/jdk/make/jpda/transport/socket/Makefile	Thu Jun 10 15:54:25 2010 -0700
@@ -38,11 +38,11 @@
 include $(BUILDDIR)/common/Defs.gmk
 
 ifeq ($(PLATFORM), linux)
-  OTHER_LDLIBS += -lnsl $(LIBSOCKET) -lpthread
+  OTHER_LDLIBS += $(LIBNSL) $(LIBSOCKET) -lpthread
 endif
 
 ifeq ($(PLATFORM), solaris)
-  OTHER_LDLIBS += -lnsl $(LIBSOCKET)
+  OTHER_LDLIBS += $(LIBNSL) $(LIBSOCKET)
 endif
 
 ifeq ($(PLATFORM), windows)