Broken pkgconfig file
lgbaldoni opened this issue · comments
Luigi Baldoni commented
Please provide the following information
libtorrent version (or branch): 2.0.6
platform/architecture: openSUSE Leap 15.4
compiler and compiler version: gcc 7.5.0
please describe what symptom you see, what you would expect to see instead and
how to reproduce it.
This is what comes out:
prefix=/usr
libdir=${prefix}/lib64
Name: libtorrent
Description: Bittorrent library
Version: 2.0.6
Libs: -L${libdir} -ltorrent-rasterbar -l-pthread -lssl -lcrypto -lboost_system
Cflags: -fexceptions -pthread -I/usr/include -DTORRENT_LINKING_SHARED -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_NO_DEPRECATED -DTORRENT_USE_OPENSSL -DTORRENT_USE_LIBCRYPTO -DTORRENT_SSL_PEERS -DOPENSSL_NO_SSL2
Perhaps the parser is confused by -pthread
coming from libcrypto.pc
? (Libs.private: -lz -ldl -pthread
)
zywo commented
Caused by this change: #6722
Problem reported here: #6722 (comment) but not solved since then.
Arvid Norberg commented
the fix has landed