File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838- Issue #16537: Check whether self.extensions is empty in setup.py. Patch by
3939 Jonathan Hosmer.
4040
41+ - Issue #18096: Fix library order returned by python-config.
42+
4143
4244What's New in Python 3.4.2?
4345===========================
Original file line number Diff line number Diff line change @@ -47,8 +47,9 @@ for opt in opt_flags:
4747 print (' ' .join (flags ))
4848
4949 elif opt in ('--libs' , '--ldflags' ):
50- libs = getvar ('LIBS' ).split () + getvar ('SYSLIBS' ).split ()
51- libs .append ('-lpython' + pyver + sys .abiflags )
50+ libs = ['-lpython' + pyver + sys .abiflags ]
51+ libs += getvar ('LIBS' ).split ()
52+ libs += getvar ('SYSLIBS' ).split ()
5253 # add the prefix/lib/pythonX.Y/config dir, but only if there is no
5354 # shared library in prefix/lib/.
5455 if opt == '--ldflags' :
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ LIBM="@LIBM@"
4040LIBC=" @LIBC@"
4141SYSLIBS=" $LIBM $LIBC "
4242ABIFLAGS=" @ABIFLAGS@"
43- LIBS=" @LIBS@ $SYSLIBS -lpython${VERSION}${ABIFLAGS} "
43+ LIBS=" -lpython${VERSION}${ABIFLAGS} @LIBS@ $SYSLIBS "
4444BASECFLAGS=" @BASECFLAGS@"
4545LDLIBRARY=" @LDLIBRARY@"
4646LINKFORSHARED=" @LINKFORSHARED@"
You can’t perform that action at this time.
0 commit comments