gh-132649: Allow passing --include-tcltk to PC\layout on Windows ARM64 (GH-132650)

(cherry picked from commit b87189deae)

Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
Miss Islington (bot) 2025-04-17 21:37:30 +02:00 committed by GitHub
parent 582d1ef463
commit afd865aad6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -657,7 +657,7 @@ def main():
if ns.arch not in ("win32", "amd64", "arm32", "arm64"):
log_error("--arch is not a valid value (win32, amd64, arm32, arm64)")
return 4
if ns.arch in ("arm32", "arm64"):
if ns.arch == "arm32":
for n in ("include_idle", "include_tcltk"):
if getattr(ns, n):
log_warning(f"Disabling --{n.replace('_', '-')} on unsupported platform")