From 34e01b3cf8208f961add28afc9bbb6aabe2fc244 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 14 Sep 2026 16:30:14 +0500 Subject: [PATCH] build_win: fix wrong env var bug introduced in bfce5b94 In bfce5b94 by accident I removed `TARGET_ARCH` env variable to `VS_PLATFORM` in `build-all-win.py`, while it wasn't related to build-deps really - this was the variable coming from CI matrix. --- win/build-all-win.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/build-all-win.py b/win/build-all-win.py index 0f3deca2b1..fa1cda4c88 100644 --- a/win/build-all-win.py +++ b/win/build-all-win.py @@ -16,7 +16,7 @@ from zipfile import ZipFile def is_arm64() -> bool: - arch = os.environ.get("VS_PLATFORM", "").lower() + arch = os.environ.get("TARGET_ARCH", "").lower() if arch in ("arm64", "aarch64"): return True if arch in ("x64", "amd64", "x86_64"):