From e5e5591c7edeb2547d22c052d21e9b8936911334 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 22 Feb 2024 14:01:01 +0100 Subject: [PATCH] Fix wrong architecture detection on Windows Windows passes architecture of amd64, which needs to be converted to x64 for the library names. --- build_files/utils/make_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_files/utils/make_update.py b/build_files/utils/make_update.py index 3cd429d2568..825468891d8 100755 --- a/build_files/utils/make_update.py +++ b/build_files/utils/make_update.py @@ -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"))