diff make/windows/makefiles/product.make @ 427:3c07cda72b7d

6764892: VS2008 changes required to compile hotspot sources Summary: Minor changes required to build using the Visual Studio 2008 compiler Reviewed-by: kvn, ohair
author tbell
date Tue, 11 Nov 2008 22:01:08 -0800
parents d1605aabd0a1
children c18cbe5936b8
line wrap: on
line diff
--- a/make/windows/makefiles/product.make	Fri Nov 07 13:55:14 2008 -0800
+++ b/make/windows/makefiles/product.make	Tue Nov 11 22:01:08 2008 -0800
@@ -61,6 +61,12 @@
   $(LINK_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files)
 <<
 !endif
+!if "$(MT)" != ""
+# The previous link command created a .manifest file that we want to
+# insert into the linked artifact so we do not need to track it
+# separately.  Use ";#2" for .dll and ";#1" for .exe:
+	$(MT) /manifest $@.manifest /outputresource:$@;#2
+!endif
 
 !include $(WorkSpace)/make/windows/makefiles/shared.make
 !include $(WorkSpace)/make/windows/makefiles/sa.make