Skip to content

Commit f05931c

Browse files
committed
Same patch as #194, fixes #193.
1 parent cc8b796 commit f05931c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

setup.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ def _find_msbuild_tool(tool="msbuild.exe", use_windows_sdk=False):
3232
if use_windows_sdk:
3333
sdks_root = r"SOFTWARE\Microsoft\Microsoft SDKs\Windows"
3434
kits_root = r"SOFTWARE\Microsoft\Windows Kits\Installed Roots"
35-
kits_suffix = "bin"
36-
if PLATFORM == "x64":
37-
kits_suffix += r"\x64"
35+
kits_suffix = os.path.join("bin",PLATFORM)
3836
keys_to_check.extend([
3937
("Windows Kit 10.0", kits_root, "KitsRoot10", kits_suffix),
4038
("Windows Kit 8.1", kits_root, "KitsRoot81", kits_suffix),

0 commit comments

Comments
 (0)