[Python-checkins] python/dist/src setup.py,1.190,1.191

jackjansen at users.sourceforge.net jackjansen at users.sourceforge.net
Thu Jul 15 21:56:28 CEST 2004


Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11984

Modified Files:
	setup.py 
Log Message:
_localemodule now needs to be linked with CoreFoundation on darwin.


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.190
retrieving revision 1.191
diff -C2 -d -r1.190 -r1.191
*** setup.py	26 Jun 2004 22:29:42 -0000	1.190
--- setup.py	15 Jul 2004 19:56:25 -0000	1.191
***************
*** 342,347 ****
          else:
              locale_libs = []
          exts.append( Extension('_locale', ['_localemodule.c'],
!                                libraries=locale_libs ) )
  
          # Modules with some UNIX dependencies -- on by default:
--- 342,354 ----
          else:
              locale_libs = []
+         if platform == 'darwin':
+             locale_extra_link_args = ['-framework', 'CoreFoundation']
+         else:
+             locale_extra_link_args = []
+         
+ 
          exts.append( Extension('_locale', ['_localemodule.c'],
!                                libraries=locale_libs,
!                                extra_link_args=locale_extra_link_args) )
  
          # Modules with some UNIX dependencies -- on by default:



More information about the Python-checkins mailing list