File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed
Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11#!@EXENAME@
2+ # -*- python -*-
23
34import getopt
45import os
@@ -45,7 +46,7 @@ for opt in opt_flags:
4546
4647 elif opt in ('--libs' , '--ldflags' ):
4748 libs = getvar ('LIBS' ).split () + getvar ('SYSLIBS' ).split ()
48- libs.append('-lpython'+ pyver)
49+ libs .append ('-lpython' + pyver + sys . abiflags )
4950 # add the prefix/lib/pythonX.Y/config dir, but only if there is no
5051 # shared library in prefix/lib/.
5152 if opt == '--ldflags' :
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ Description: Python library
88Requires:
99Version: @VERSION@
1010Libs.private: @LIBS@
11- Libs: -L${libdir} -lpython@VERSION@
11+ Libs: -L${libdir} -lpython@VERSION@@ABIFLAGS@
1212Cflags: -I${includedir}/python@VERSION@
1313
Original file line number Diff line number Diff line change 11#! /bin/sh
2- # From configure.in Revision: 85559 .
2+ # From configure.in Revision: 85656 .
33# Guess values for system-dependent variables and create Makefiles.
44# Generated by GNU Autoconf 2.67 for python 3.2.
55#
@@ -4679,7 +4679,7 @@ esac
46794679$as_echo_n " checking LIBRARY... " >&6 ; }
46804680if test -z " $LIBRARY "
46814681then
4682- LIBRARY=' libpython$(VERSION).a'
4682+ LIBRARY=' libpython$(VERSION)$(ABIFLAGS) .a'
46834683fi
46844684{ $as_echo " $as_me :${as_lineno-$LINENO } : result: $LIBRARY " >&5
46854685$as_echo " $LIBRARY " >&6 ; }
Original file line number Diff line number Diff line change @@ -585,7 +585,7 @@ AC_SUBST(LIBRARY)
585585AC_MSG_CHECKING(LIBRARY)
586586if test -z "$LIBRARY"
587587then
588- LIBRARY='libpython$(VERSION).a'
588+ LIBRARY='libpython$(VERSION)$(ABIFLAGS) .a'
589589fi
590590AC_MSG_RESULT($LIBRARY)
591591
You can’t perform that action at this time.
0 commit comments