Jeevan Varshney <[EMAIL PROTECTED]> added the comment:

The following will also let environment variables be passed to the
CygwinCCompiler.

--- orig/sysconfig.py   2008-05-19 00:26:03.953125000 -0700
+++ copy/sysconfig.py   2008-05-19 00:14:51.609375000 -0700
@@ -145,7 +145,7 @@
     Mainly needed on Unix, so we can plug in the information that
     varies across Unices and is stored in Python's Makefile.
     """
-    if compiler.compiler_type == "unix":
+    if compiler.compiler_type in ("unix", "cygwin"):
         (cc, cxx, opt, cflags, ccshared, ldshared, so_ext) = \
             get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS',
                             'CCSHARED', 'LDSHARED', 'SO')

----------
nosy: +jayvee

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2445>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to