[issue15590] --libs is inconsistent for python-config --libs and pkgconfig python --libs

Michael Haubenwallner report at bugs.python.org
Wed Jun 4 18:25:00 CEST 2014


Michael Haubenwallner added the comment:

So this diff - depending on issue#21660 - now drops showing any $LIBS from python-config, as python-modules usually do not link against any python-known libraries.

Instead, now there is a new configure variable LINKFORMODULE, which is shown by python-config --ldflags.

And $LINKFORSHARED is added to python.pc (for pkg-config).

Eventually, this allows to drop those Darwin hackery wrt. python-framework, as the python library isn't linked against the modules any more - but to PYTHONFRAMEWORK via LINKFORMODULE instead.

However, I don't have any Darwin around here: anyone?

For AIX, this looks good so far.

Thanks!

----------
hgrepos: +250

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15590>
_______________________________________


More information about the Python-bugs-list mailing list