Message118950
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': |
|
Date |
User |
Action |
Args |
2010-10-17 16:52:53 | doko | set | recipients:
+ doko, loewis, fdrake, barry, amaury.forgeotdarc, pitrou, eric.smith, eric.araujo, Arfrever, r.david.murray, dmalcolm |
2010-10-17 16:52:53 | doko | set | messageid: <1287334373.03.0.312493786653.issue9807@psf.upfronthosting.co.za> |
2010-10-17 16:52:50 | doko | link | issue9807 messages |
2010-10-17 16:52:49 | doko | create | |
|