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

leif at geodynamics.org leif at geodynamics.org
Wed May 20 14:07:03 PDT 2009


Author: leif
Date: 2009-05-20 14:07:03 -0700 (Wed, 20 May 2009)
New Revision: 15023

Modified:
   cs/autoconf/trunk/cit_python.m4
Log:
Search LIBDIR before LIBPL... not all versions of Python deposit a
symlink to the shared Python library in LIBPL.


Modified: cs/autoconf/trunk/cit_python.m4
===================================================================
--- cs/autoconf/trunk/cit_python.m4	2009-05-20 01:00:47 UTC (rev 15022)
+++ cs/autoconf/trunk/cit_python.m4	2009-05-20 21:07:03 UTC (rev 15023)
@@ -87,7 +87,7 @@
             '-I' + sysconfig.get_python_inc(plat_specific=True)]
 print 'PYTHON_CPPFLAGS="%s"' % ' '.join(cppflags)
 
-ldflags = ['-L' + getvar('LIBPL')]
+ldflags = ['-L' + getvar('LIBDIR'), '-L' + getvar('LIBPL')]
 print 'PYTHON_LDFLAGS="%s"' % ' '.join(ldflags)
 
 libs = getvar('LIBS').split() + getvar('SYSLIBS').split()



More information about the CIG-COMMITS mailing list