diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2001-02-27 19:13:15 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2001-02-27 19:13:15 (GMT) |
commit | a34dbe0fdcfd7cf75c8d339542183d58cacfce8b (patch) | |
tree | 5a3c5ccf328a6fc921727a4e203af7470e12bbed /Lib/distutils | |
parent | 4db62b1e14ed909d4bd574633a11c45455c76beb (diff) | |
download | cpython-a34dbe0fdcfd7cf75c8d339542183d58cacfce8b.zip cpython-a34dbe0fdcfd7cf75c8d339542183d58cacfce8b.tar.gz cpython-a34dbe0fdcfd7cf75c8d339542183d58cacfce8b.tar.bz2 |
Patch #403947: On Cygwin, use the Unix compiler class, and not
the Cygwin-specific compiler class.
(According to Jason Tishler, cygwinccompiler needs some work to
handle the differences in Cygwin- and MSVC-Python. Makefile and
config files are currently ignored by cygwinccompiler, as it was
written to support cygwin for extensions which are intended to be
used with the standard MSVC built Python.)
Diffstat (limited to 'Lib/distutils')
-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'), |