Fix wrong architecture detection on Windows
Windows passes architecture of amd64, which needs to be converted to x64 for the library names.
This commit is contained in:
parent
3dc832a904
commit
e5e5591c7e
|
@ -101,7 +101,7 @@ def get_effective_architecture(args: argparse.Namespace) -> str:
|
|||
architecture = platform.machine().lower()
|
||||
|
||||
# Normalize the architecture name.
|
||||
if architecture == 'x86_64':
|
||||
if architecture in ("x86_64", "amd64"):
|
||||
architecture = "x64"
|
||||
|
||||
assert (architecture in ("x64", "arm64"))
|
||||
|
|
Loading…
Reference in New Issue