aboutsummaryrefslogtreecommitdiff
path: root/ports/python3/0005-Fix-DefaultWindowsSDKVersion.patch
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2018-07-03 09:59:02 +0200
committerRobert Schumacher <roschuma@microsoft.com>2018-07-03 00:59:02 -0700
commit1459dbfa51d5147b41182cb84cca94166a517925 (patch)
treef02b8a895668186e85c20f00c85e6babaee1ad24 /ports/python3/0005-Fix-DefaultWindowsSDKVersion.patch
parent67d6200cdb9ebdb56c1940f8ac4f91362b6e5c66 (diff)
downloadvcpkg-1459dbfa51d5147b41182cb84cca94166a517925.tar.gz
vcpkg-1459dbfa51d5147b41182cb84cca94166a517925.zip
Fix for python3 compile, fixes issue 3715 (#3827)
* Fix for python3 compile, fixes issue 3715 * [python3] Use PATCHES of vcpkg_from_github
Diffstat (limited to 'ports/python3/0005-Fix-DefaultWindowsSDKVersion.patch')
-rw-r--r--ports/python3/0005-Fix-DefaultWindowsSDKVersion.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/python3/0005-Fix-DefaultWindowsSDKVersion.patch b/ports/python3/0005-Fix-DefaultWindowsSDKVersion.patch
new file mode 100644
index 000000000..13f7b39e0
--- /dev/null
+++ b/ports/python3/0005-Fix-DefaultWindowsSDKVersion.patch
@@ -0,0 +1,12 @@
+diff --git a/PCbuild/python.props b/PCbuild/python.props
+--- a/PCbuild/python.props
++++ b/PCbuild/python.props
+@@ -76,7 +76,7 @@
+ -->
+ <_RegistryVersion>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</_RegistryVersion>
+ <_RegistryVersion Condition="$(_RegistryVersion) == ''">$(Registry:HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</_RegistryVersion>
+- <DefaultWindowsSDKVersion>10.0.15063.0</DefaultWindowsSDKVersion>
++ <DefaultWindowsSDKVersion Condition="$(_RegistryVersion) == '10.0.15063'">10.0.15063.0</DefaultWindowsSDKVersion>
+ <DefaultWindowsSDKVersion Condition="$(_RegistryVersion) == '10.0.14393'">10.0.14393.0</DefaultWindowsSDKVersion>
+ <DefaultWindowsSDKVersion Condition="$(_RegistryVersion) == '10.0.10586'">10.0.10586.0</DefaultWindowsSDKVersion>
+ <DefaultWindowsSDKVersion Condition="$(_RegistryVersion) == '10.0.10240'">10.0.10240.0</DefaultWindowsSDKVersion>