[Python-checkins] python/dist/src/Mac/Lib/mkcwproject cwxmlgen.py,1.7,1.8
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Thu, 23 May 2002 15:34:04 -0700
Update of /cvsroot/python/python/dist/src/Mac/Lib/mkcwproject
In directory usw-pr-cvs1:/tmp/cvs-serv3019/Python/Mac/Lib/mkcwproject
Modified Files:
cwxmlgen.py
Log Message:
Allow the shared library initialization routine to be overridden with an initialize=xxx argument.
Should fix #492465.
Index: cwxmlgen.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/mkcwproject/cwxmlgen.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** cwxmlgen.py 14 Dec 2001 14:31:15 -0000 1.7
--- cwxmlgen.py 23 May 2002 22:34:02 -0000 1.8
***************
*** 54,57 ****
--- 54,59 ----
if not dict.has_key('libraryflags'):
dict['libraryflags'] = 'Debug'
+ if not dict.has_key('initialize'):
+ dict['initialize'] = '__initialize'
if not dict.has_key('mac_sysprefixtype'):
if os.path.isabs(dict['sysprefix']):