[issue33438] pkg-config file misses flags for static linking

2018-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Note that both implementations of python-config give the right information: $ ./python python-config.py --libs -lpython3.7m -lpthread -ldl -lutil -lm $ sh python-config --libs -lpython3.7m -lpthread -ldl -lutil -lm --

[issue33438] pkg-config file misses flags for static linking

2018-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: (correction: in the first message, I meant "on Linux" not "on Windows". Of course :-)) -- ___ Python tracker ___

[issue33438] pkg-config file misses flags for static linking

2018-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: $ PKG_CONFIG_PATH=`pwd`/Misc pkg-config --static python $ PKG_CONFIG_PATH=`pwd`/Misc pkg-config --libs python -L/home/antoine/cpython/37/usr/lib -lpython3.7m $ PKG_CONFIG_PATH=`pwd`/Misc pkg-config --libs-only-l python -lpython3.7m $ PKG_CONFIG_PATH=`pwd`/Misc p

[issue33438] pkg-config file misses flags for static linking

2018-05-07 Thread Antoine Pitrou
New submission from Antoine Pitrou : Our pkg-config misses flags for static linking with libpythonXX.a, such as "-lpthread -lutil -lrt" on Windows. For dynamic linking, this is not a problem since libpythonXX.so links explicitly against those system libraries. -- components: Build mes