diff options
author | Sverker Eriksson <[email protected]> | 2010-07-21 17:30:08 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2010-07-22 15:57:22 +0200 |
commit | 9b265043d77afd93e95e23e5edda6ccc1085cef0 (patch) | |
tree | b2500c612c046fcafadeab9bae97a144a2579761 /erts/etc | |
parent | 9267b2dc792c0a7632a0dcdc0a49510eb13e465e (diff) | |
download | otp-9b265043d77afd93e95e23e5edda6ccc1085cef0.tar.gz otp-9b265043d77afd93e95e23e5edda6ccc1085cef0.tar.bz2 otp-9b265043d77afd93e95e23e5edda6ccc1085cef0.zip |
Turn off windows "virtualiztion"
Diffstat (limited to 'erts/etc')
-rwxr-xr-x | erts/etc/win32/cygwin_tools/vc/ld.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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>/ <trustInfo>\n <security>\n <requestedPrivileges>\n <requestedExecutionLevel level=\"AsInvoker\" uiAccess=\"false\"\/>\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 |