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

mfkey: add explicit -lpthread link directive to Makefile for linux builds #2172

Closed

Conversation

ggallagh
Copy link

@ggallagh ggallagh commented Nov 13, 2023

nested_util.c requires pthread support. Prior to release 2.34 of glibc (around Aug 2021), libpthread was a separate library that needed to be explicitly supplied to the linker. Add the directive to make all linux builds happy.

…te older linux versions when libpthread was a separate library
Copy link

You are welcome to add an entry to the CHANGELOG.md as well

@iceman1001
Copy link
Collaborator

Thanks for the PR!

Now, two PRs , two different solutions. Which to choose.
Someone mentioned that both works.

SKIPTHREAD seems to be the right path considering its purpose.

If noone else has any objections, I will close this PR and merge the other.

@iceman1001
Copy link
Collaborator

Merged the other PR regarding this problem,.

@iceman1001 iceman1001 closed this Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants