diff options
author | atomlong | 2021-10-23 17:55:22 +0800 |
---|---|---|
committer | atomlong | 2021-10-23 18:06:15 +0800 |
commit | 80096c8de4b34ec1ed8f30bb428918cd592b2424 (patch) | |
tree | b48dd1e73de9ea35a4709fb6b93deb16331ec514 /0022-sysconfig-MINGW-build-extensions-with-GCC.patch | |
parent | 89a67c05174951d172252b1db96ff93cc4ec4bcd (diff) | |
download | aur-mingw-w64-python.tar.gz |
update to 3.9.7
Diffstat (limited to '0022-sysconfig-MINGW-build-extensions-with-GCC.patch')
-rw-r--r-- | 0022-sysconfig-MINGW-build-extensions-with-GCC.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/0022-sysconfig-MINGW-build-extensions-with-GCC.patch b/0022-sysconfig-MINGW-build-extensions-with-GCC.patch new file mode 100644 index 000000000000..a7e38fd4485b --- /dev/null +++ b/0022-sysconfig-MINGW-build-extensions-with-GCC.patch @@ -0,0 +1,25 @@ +From 81df7b055662ed80b952de911ec0c25df3e40e1f Mon Sep 17 00:00:00 2001 +From: Christoph Reiter <reiter.christoph@gmail.com> +Date: Tue, 21 Sep 2021 20:52:42 +0200 +Subject: [PATCH 022/N] sysconfig: MINGW build extensions with GCC + +--- + Lib/sysconfig.py | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py +index 45eab2a..42de9b3 100644 +--- a/Lib/sysconfig.py ++++ b/Lib/sysconfig.py +@@ -657,6 +657,8 @@ def get_platform(): + + """ + if os.name == 'nt': ++ if 'GCC' in sys.version: ++ return 'mingw' + if 'amd64' in sys.version.lower(): + return 'win-amd64' + if '(arm)' in sys.version.lower(): +-- +2.33.0 + |