jdk/make/jpda/transport/socket/Makefile
changeset 12047 320a714614e9
parent 9035 1255eb81cc2f
child 12292 0066b3386371
--- a/jdk/make/jpda/transport/socket/Makefile	Tue Mar 06 10:25:45 2012 +0800
+++ b/jdk/make/jpda/transport/socket/Makefile	Tue Mar 06 20:34:38 2012 +0000
@@ -40,6 +40,11 @@
   OTHER_LDLIBS += $(LIBNSL) $(LIBSOCKET) -lpthread
 endif
 
+ifeq ($(PLATFORM), macosx))
+  LIBSOCKET =
+  OTHER_LDLIBS += -pthread
+endif
+
 ifeq ($(PLATFORM), solaris)
   OTHER_LDLIBS += $(LIBNSL) $(LIBSOCKET)
 endif