MINGW-packages/mingw-w64-python-setuptools/0007-windows-arm64.patch
Christoph Reiter 1207d107bd python-setuptools: Update to 80.9.0 + cleanup
* 0001-mingw-python-fix.patch: easy_install is gone, so no longer needed
* 0007-windows-arm64.patch: moved, also use the platform string to check
* wininst is long gone, remove the delete logic
* Use CFLAGS when building launchers
2025-07-06 13:56:21 +02:00

12 lines
504 B
Diff

--- setuptools-80.9.0/setuptools/_scripts.py.orig 2025-05-27 02:56:31.000000000 +0200
+++ setuptools-80.9.0/setuptools/_scripts.py 2025-07-06 12:31:57.777895000 +0200
@@ -323,7 +323,7 @@
"""
launcher_fn = f'{type}.exe'
if is_64bit():
- if get_platform() == "win-arm64":
+ if get_platform() == "win-arm64" or "aarch64" in get_platform():
launcher_fn = launcher_fn.replace(".", "-arm64.")
else:
launcher_fn = launcher_fn.replace(".", "-64.")