From 9b265043d77afd93e95e23e5edda6ccc1085cef0 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Wed, 21 Jul 2010 17:30:08 +0200 Subject: Turn off windows "virtualiztion" --- erts/etc/win32/cygwin_tools/vc/ld.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'erts/etc') diff --git a/erts/etc/win32/cygwin_tools/vc/ld.sh b/erts/etc/win32/cygwin_tools/vc/ld.sh index ac39bf871c..4fa3312286 100755 --- a/erts/etc/win32/cygwin_tools/vc/ld.sh +++ b/erts/etc/win32/cygwin_tools/vc/ld.sh @@ -167,6 +167,9 @@ eval link.exe "$CMD" >/tmp/link.exe.${p}.1 2>/tmp/link.exe.${p}.2 RES=$? CMANIFEST=`cygpath $MANIFEST` if [ "$RES" = "0" -a -f "$CMANIFEST" ]; then + # Add stuff to manifest to turn off "virtualization" + sed -i "s/<\/assembly>/ \n \n \n \n <\/requestedPrivileges>\n <\/security>\n <\/trustInfo>\n<\/assembly>/" $CMANIFEST + eval mt.exe -nologo -manifest "$MANIFEST" -outputresource:"$OUTPUTRES" >>/tmp/link.exe.${p}.1 2>>/tmp/link.exe.${p}.2 RES=$? if [ "$RES" != "0" ]; then -- cgit v1.2.3