diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py index 0a30640fe2e8..4a282d4cff50 100644 --- a/Lib/distutils/ccompiler.py +++ b/Lib/distutils/ccompiler.py @@ -842,7 +842,10 @@ def mkpath (self, name, mode=0777): _default_compilers = ( # Platform string mappings - ('cygwin.*', 'cygwin'), + + # on a cygwin built python we can use gcc like an ordinary UNIXish + # compiler + ('cygwin.*', 'unix'), # OS name mappings ('posix', 'unix'),