diff -r 8f634eb6f66b -r 049f3b3d6903 components/python/python26/patches/Python26-03-distutils-pycc.patch --- a/components/python/python26/patches/Python26-03-distutils-pycc.patch Thu Mar 03 12:21:51 2011 -0800 +++ b/components/python/python26/patches/Python26-03-distutils-pycc.patch Fri Mar 04 13:19:22 2011 -0800 @@ -1,7 +1,7 @@ diff --git Python-2.6.4/Lib/distutils/sysconfig.py Python-2.6.4/Lib/distutils/sysconfig.py --- Python-2.6.4/Lib/distutils/sysconfig.py +++ Python-2.6.4/Lib/distutils/sysconfig.py -@@ -166,16 +166,10 @@ +@@ -166,16 +166,12 @@ get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS', 'CCSHARED', 'LDSHARED', 'SO') @@ -17,6 +17,8 @@ - cpp = cc + " -E" # not always + # On Solaris, we must always use pycc/pyCC, which will then look up + # $CC and $CXX ++ cc = '/usr/lib/python2.6/pycc' ++ cxx = '/usr/lib/python2.6/pyCC' + cpp = cc + " -E" + if 'LDFLAGS' in os.environ: