The "Libs.private" field of libcurl.pc doesn't include "-pthread" when using the threaded resolved.
While libcurl.la contains:
# Linker flags that cannot go in dependency_libs.
inherited_linker_flags=' -pthread'
# Libraries that this one depends upon.
dependency_libs=' -lssl -lcrypto -lz'
libcurl.pc only contains
Libs.private: -lssl -lcrypto -lssl -lcrypto -lz
When using cmake it works fine.
The text was updated successfully, but these errors were encountered:
reddwarf69
changed the title
libcurl.pc doesn't include -pthread
libcurl.pc generated by autotools doesn't include -pthread
Nov 4, 2020
The "Libs.private" field of libcurl.pc doesn't include "-pthread" when using the threaded resolved.
While libcurl.la contains:
libcurl.pc only contains
Libs.private: -lssl -lcrypto -lssl -lcrypto -lz
When using cmake it works fine.
The text was updated successfully, but these errors were encountered: