Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcurl.pc generated by autotools doesn't include -pthread #6168

Closed
reddwarf69 opened this issue Nov 4, 2020 · 0 comments
Closed

libcurl.pc generated by autotools doesn't include -pthread #6168

reddwarf69 opened this issue Nov 4, 2020 · 0 comments
Labels

Comments

@reddwarf69
Copy link
Contributor

reddwarf69 commented Nov 4, 2020

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.

@reddwarf69 reddwarf69 changed the title libcurl.pc doesn't include -pthread libcurl.pc generated by autotools doesn't include -pthread Nov 4, 2020
@bagder bagder added the build label Nov 4, 2020
bagder added a commit that referenced this issue Nov 6, 2020
Reported-by: Cristian Morales Vega
Fixes #6168
@bagder bagder closed this as completed in 374329d Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants