]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix registry key for Windows SDK detection (GH-12445)
authorIsuru Fernando <isuruf@gmail.com>
Thu, 21 Mar 2019 17:52:57 +0000 (12:52 -0500)
committerSteve Dower <steve.dower@microsoft.com>
Thu, 21 Mar 2019 17:52:57 +0000 (10:52 -0700)
PCbuild/python.props

index a9dc9db4863f0b874a10c4270344df29588fbdb6..3a0ddceda6646bb930848d42e89b7eeda2d2b504 100644 (file)
@@ -85,7 +85,7 @@
     matter which WinSDK version we use.
     -->
     <_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>
+    <_RegistryVersion Condition="$(_RegistryVersion) == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</_RegistryVersion>
     <!-- Sometimes the version in the registry has to .0 suffix, and sometimes it doesn't. Check and add it -->
     <_RegistryVersion Condition="$(_RegistryVersion) != '' and !$(_RegistryVersion.EndsWith('.0'))">$(_RegistryVersion).0</_RegistryVersion>