--- a/jdk/make/lib/NetworkingLibraries.gmk Tue Jan 28 11:22:25 2014 -0800
+++ b/jdk/make/lib/NetworkingLibraries.gmk Tue Jan 28 14:57:41 2014 -0800
@@ -46,6 +46,10 @@
LIBNET_EXCLUDE_FILES += bsd_close.c
endif
+ifeq ($(OPENJDK_TARGET_OS), aix)
+ LIBNET_SRC_DIRS += $(JDK_TOPDIR)/src/aix/native/java/net/
+endif
+
ifeq ($(OPENJDK_TARGET_OS), windows)
LIBNET_EXCLUDE_FILES += PlainSocketImpl.c PlainDatagramSocketImpl.c SdpSupport.c
else
@@ -69,6 +73,7 @@
LDFLAGS_SUFFIX_macosx := -ljvm -ljava, \
LDFLAGS_SUFFIX_solaris := -ljvm -ljava -lnsl -lsocket $(LIBDL) -lc, \
LDFLAGS_SUFFIX_linux := $(LIBDL) -ljvm -lpthread -ljava, \
+ LDFLAGS_SUFFIX_aix := $(LIBDL) -ljvm -ljava,\
LDFLAGS_SUFFIX_windows := ws2_32.lib jvm.lib secur32.lib iphlpapi.lib \
delayimp.lib $(WIN_JAVA_LIB) advapi32.lib \
-DELAYLOAD:secur32.dll -DELAYLOAD:iphlpapi.dll, \