Skip to content

Commit

Permalink
sysconfig: MINGW build extensions with GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Aug 25, 2023
1 parent 6244599 commit f59a672
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/sysconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,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():
Expand Down

0 comments on commit f59a672

Please sign in to comment.