Matthias Klose <d...@debian.org> added the comment:

two fixes, the configure.in differentiates the name for the static library, as 
mentioned in msg118832.

the python-config.in fix prints the library name with the abiflags.

Index: configure.in
===================================================================
--- configure.in        (Revision 85644)
+++ configure.in        (Arbeitskopie)
@@ -585,7 +585,7 @@
 AC_MSG_CHECKING(LIBRARY)
 if test -z "$LIBRARY"
 then
-       LIBRARY='libpython$(VERSION).a'
+       LIBRARY='libpython$(VERSION)$(ABIFLAGS).a'
 fi
 AC_MSG_RESULT($LIBRARY)
 
Index: Misc/python-config.in
===================================================================
--- Misc/python-config.in       (Revision 85644)
+++ Misc/python-config.in       (Arbeitskopie)
@@ -45,7 +45,7 @@
 
     elif opt in ('--libs', '--ldflags'):
         libs = getvar('LIBS').split() + getvar('SYSLIBS').split()
-        libs.append('-lpython'+pyver)
+        libs.append('-lpython'+pyver+sys.abiflags)
         # add the prefix/lib/pythonX.Y/config dir, but only if there is no
         # shared library in prefix/lib/.
         if opt == '--ldflags':

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9807>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to