--- a/jdk/make/lib/Lib-jdk.sctp.gmk Wed Oct 28 23:31:01 2015 +0100
+++ b/jdk/make/lib/Lib-jdk.sctp.gmk Thu Oct 29 16:31:00 2015 +0100
@@ -49,10 +49,9 @@
MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libsctp/mapfile-vers, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
- LDFLAGS_SUFFIX_linux := -lpthread $(LIBDL) -ljava -ljvm, \
- LDFLAGS_SUFFIX_unix := -lnio -lnet, \
- LDFLAGS_SUFFIX_solaris := -lsocket -ljava -ljvm -lc, \
- LDFLAGS_SUFFIX_macosx := -ljava -ljvm, \
+ LIBS_unix := -lnio -lnet -ljava -ljvm, \
+ LIBS_linux := -lpthread $(LIBDL), \
+ LIBS_solaris := -lsocket -lc, \
OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libsctp, \
DEBUG_SYMBOLS := $(DEBUG_ALL_BINARIES)))