This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doko
Recipients Arfrever, amaury.forgeotdarc, barry, dmalcolm, doko, eric.araujo, eric.smith, fdrake, loewis, pitrou, r.david.murray
Date 2010-10-17.16:52:49
SpamBayes Score 0.015781749
Marked as misclassified No
Message-id <1287334373.03.0.312493786653.issue9807@psf.upfronthosting.co.za>
In-reply-to
Content
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':
History
Date User Action Args
2010-10-17 16:52:53dokosetrecipients: + doko, loewis, fdrake, barry, amaury.forgeotdarc, pitrou, eric.smith, eric.araujo, Arfrever, r.david.murray, dmalcolm
2010-10-17 16:52:53dokosetmessageid: <1287334373.03.0.312493786653.issue9807@psf.upfronthosting.co.za>
2010-10-17 16:52:50dokolinkissue9807 messages
2010-10-17 16:52:49dokocreate