Added patch for vcvars32.bat that will overwrite the SDK path. Required in MSVC 11.0 (VC2012) Update-1, because the default (8.0) Windows SDK does *not* support Windows XP.
This commit is contained in:
parent
41c129a0ec
commit
992c8c7e95
26
etc/Patches/MSVC2012-update1-vcvars32-WinSdkOverwrite.diff
Normal file
26
etc/Patches/MSVC2012-update1-vcvars32-WinSdkOverwrite.diff
Normal file
@ -0,0 +1,26 @@
|
||||
diff --git "a/C:\\Program Files\\Microsoft Visual Studio 11.0\\VC\\bin\\vcvars32.bat" "b/C:\\Program Files\\Microsoft Visual Studio 11.0\\VC\\bin\\vcvars32_XP.bat"
|
||||
index d02a974..815d2d3 100644
|
||||
--- "a/C:\\Program Files\\Microsoft Visual Studio 11.0\\VC\\bin\\vcvars32.bat"
|
||||
+++ "b/C:\\Program Files\\Microsoft Visual Studio 11.0\\VC\\bin\\vcvars32_XP.bat"
|
||||
@@ -12,14 +12,18 @@
|
||||
@set FrameworkDir=%FrameworkDir32%
|
||||
@set FrameworkVersion=%FrameworkVersion32%
|
||||
|
||||
+@rem --- MOD ---
|
||||
+@set "WindowsSdkDir=C:\Program Files\Microsoft SDKs\Windows\v7.1A\"
|
||||
+@rem --- /MOD ---
|
||||
+
|
||||
@if not "%WindowsSdkDir_old%" == "" (
|
||||
@set "PATH=%WindowsSdkDir_old%bin\NETFX 4.0 Tools;%WindowsSdkDir_35%;%PATH%"
|
||||
)
|
||||
|
||||
@if not "%WindowsSdkDir%" == "" (
|
||||
- @set "PATH=%WindowsSdkDir%bin\x86;%PATH%"
|
||||
- @set "INCLUDE=%WindowsSdkDir%include\shared;%WindowsSdkDir%include\um;%WindowsSdkDir%include\winrt;%INCLUDE%"
|
||||
- @set "LIB=%WindowsSdkDir%lib\win8\um\x86;%LIB%"
|
||||
+ @set "PATH=%WindowsSdkDir%bin;%WindowsSdkDir%bin\x86;%PATH%"
|
||||
+ @set "INCLUDE=%WindowsSdkDir%include;%WindowsSdkDir%include\shared;%WindowsSdkDir%include\um;%WindowsSdkDir%include\winrt;%INCLUDE%"
|
||||
+ @set "LIB=%WindowsSdkDir%lib;%WindowsSdkDir%lib\win8\um\x86;%LIB%"
|
||||
@set "LIBPATH=%WindowsSdkDir%References\CommonConfiguration\Neutral;%ExtensionSDKDir%\Microsoft.VCLibs\11.0\References\CommonConfiguration\neutral;%LIBPATH%"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user