[cig-commits] r11316 - cs/autoconf/trunk

leif at geodynamics.org leif at geodynamics.org
Mon Mar 3 17:19:07 PST 2008


Author: leif
Date: 2008-03-03 17:19:07 -0800 (Mon, 03 Mar 2008)
New Revision: 11316

Modified:
   cs/autoconf/trunk/cit_python.m4
Log:
Clear PYTHON_LDFLAGS -- it only causes trouble.  See issue97.


Modified: cs/autoconf/trunk/cit_python.m4
===================================================================
--- cs/autoconf/trunk/cit_python.m4	2008-03-04 01:04:57 UTC (rev 11315)
+++ cs/autoconf/trunk/cit_python.m4	2008-03-04 01:19:07 UTC (rev 11316)
@@ -97,6 +97,7 @@
         PYTHONFRAMEWORK = vars.get('PYTHONFRAMEWORK', 'Python')
         vars['LINKFORSHARED'] = vars['LINKFORSHARED'].replace(framework, "-framework " + PYTHONFRAMEWORK)
         vars['LA_LDFLAGS'] = "-Wl,-framework,%s" % PYTHONFRAMEWORK
+vars['LDFLAGS'] = '' # only causes trouble (e.g., "-arch i386 -arch ppc" on Mac) -- see issue97
 print 'PYTHON_INCDIR="%s"' % incdir
 for key in keys:
     print 'PYTHON_%s="%s"' % (key, vars.get(key, ''))



More information about the cig-commits mailing list