[Python-checkins] CVS: python/dist/src setup.py,1.47,1.48

Jack Jansen jackjansen@users.sourceforge.net
Wed, 15 Aug 2001 06:17:48 -0700


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv3170

Modified Files:
	setup.py 
Log Message:
On OSX we should not pass the -shared option to ld: it make the build
of audioop and cmath fail. Removing it seems to have no adverse consequences.

Closes bug #450510.


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** setup.py	2001/08/10 08:56:17	1.47
--- setup.py	2001/08/15 13:17:45	1.48
***************
*** 142,146 ****
              args['compiler_so'] = compiler + ' ' + opt + ' ' + ccshared
          if linker_so is not None:
!             args['linker_so'] = linker_so + ' -shared'
          self.compiler.set_executables(**args)
  
--- 142,149 ----
              args['compiler_so'] = compiler + ' ' + opt + ' ' + ccshared
          if linker_so is not None:
!             if platform == 'darwin1':
!                 args['linker_so'] = linker_so
!             else:
!                 args['linker_so'] = linker_so + ' -shared'
          self.compiler.set_executables(**args)