We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53d5ac2 commit e1d81b8Copy full SHA for e1d81b8
setuptools/msvc.py
@@ -1038,9 +1038,11 @@ def VCTools(self):
1038
tools += [os.path.join(si.VCInstallDir, path)]
1039
1040
elif self.vs_ver >= 15.0:
1041
- host_dir = (
1042
- r'bin\HostX86%s' if self.pi.current_is_x86() else r'bin\HostX64%s'
1043
- )
+ if self.pi.current_cpu in ('x86', 'arm64'):
+ host_id = self.pi.current_cpu.upper()
+ else:
1044
+ host_id = 'X64'
1045
+ host_dir = os.path.join('bin', f'Host{host_id}%s')
1046
tools += [
1047
os.path.join(si.VCInstallDir, host_dir % self.pi.target_dir(x64=True))
1048
]
0 commit comments