jdk/makefiles/CompileNativeLibraries.gmk
changeset 14706 0651f78051e0
parent 14526 a9ff17998eb7
child 14707 511b222f99b2
--- a/jdk/makefiles/CompileNativeLibraries.gmk	Wed Jul 05 18:31:27 2017 +0200
+++ b/jdk/makefiles/CompileNativeLibraries.gmk	Thu Dec 06 12:09:33 2012 +0100
@@ -2235,7 +2235,7 @@
 			 $(call SET_SHARED_LIBRARY_ORIGIN),\
 		LDFLAGS_SUFFIX_linux:=-lc -lpthread,\
 		LDFLAGS_SUFFIX_windows:=$(WIN_JAVA_LIB) advapi32.lib user32.lib version.lib, \
-		LDFLAGS_SUFFIX:=-lm $(LDFLAGS_JDKLIB_SUFFIX),\
+		LDFLAGS_SUFFIX_posix:=-lm -ljava -ljvm,\
 		VERSIONINFO_RESOURCE:=$(JDK_TOPDIR)/src/closed/share/native/sun/java2d/cmm/kcms/cmm.rc,\
 		VERSIONINFO_RESOURCE:=$(JDK_TOPDIR)/src/closed/share/native/sun/java2d/cmm/kcms/cmm.rc,\
 		RC_FLAGS:=$(RC_FLAGS)\