--- a/hotspot/make/windows/makefiles/compile.make Sat Jul 23 10:42:20 2011 -0400
+++ b/hotspot/make/windows/makefiles/compile.make Fri Apr 15 09:34:43 2011 -0400
@@ -81,7 +81,6 @@
!endif
CPP_FLAGS=$(CPP_FLAGS) /D "WIN32" /D "_WINDOWS"
-
# Must specify this for sharedRuntimeTrig.cpp
CPP_FLAGS=$(CPP_FLAGS) /D "VM_LITTLE_ENDIAN"
@@ -232,6 +231,11 @@
uuid.lib Wsock32.lib winmm.lib /nologo /machine:$(MACHINE) /opt:REF \
/opt:ICF,8 /map /debug
+
+!if $(MSC_VER) >= 1600
+LINK_FLAGS= $(LINK_FLAGS) psapi.lib
+!endif
+
# Resource compiler settings
RC=rc.exe
RC_FLAGS=/D "HS_VER=$(HS_VER)" \