diff options
-rw-r--r-- | Lib/distutils/ccompiler.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py index 0a30640..4a282d4 100644 --- a/Lib/distutils/ccompiler.py +++ b/Lib/distutils/ccompiler.py @@ -842,7 +842,10 @@ class CCompiler: _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'), |