[Python-checkins] CVS: python/dist/src setup.py,1.41,1.42
A.M. Kuchling
akuchling@users.sourceforge.net
Sat, 14 Jul 2001 13:28:12 -0700
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv12399
Modified Files:
setup.py
Log Message:
Fix bug #437487: "2.1 build on Solaris fails if CC is set"
by adding the contents of CCSHARED to the compiler specified by CC
Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -r1.41 -r1.42
*** setup.py 2001/05/21 20:48:09 1.41
--- setup.py 2001/07/14 20:28:10 1.42
***************
*** 117,121 ****
# compilers
if compiler is not None:
! args['compiler_so'] = compiler
if linker_so is not None:
args['linker_so'] = linker_so + ' -shared'
--- 117,122 ----
# compilers
if compiler is not None:
! (ccshared,) = sysconfig.get_config_vars('CCSHARED')
! args['compiler_so'] = compiler + ' ' + ccshared
if linker_so is not None:
args['linker_so'] = linker_so + ' -shared'