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

Michael Haubenwallner report at bugs.python.org
Thu Jun 5 18:37:19 CEST 2014


Michael Haubenwallner added the comment:

Erm, the latter should read:
  For Linux, with this configure variant:
    $ configure --prefix=/prefix --disable-shared CC=gcc CXX=g++


Now reading GNU ld manpage for Linux:

>   $ PKG_CONFIG_PATH=/prefix/lib/pkgconfig pkg-config --libs python-3.4
> new: -L/prefix/lib -lpython3.4m -Xlinker -export-dynamic

ld(1), at '--export-dynamic', tells about '--dynamic-list=file' to export specific symbols only - which actually looks similar to '-bE:file' for AIX...

----------

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


More information about the Python-bugs-list mailing list