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

add -lpthread on windows #182

Merged
merged 4 commits into from
Feb 18, 2025
Merged

add -lpthread on windows #182

merged 4 commits into from
Feb 18, 2025

Conversation

brendanf
Copy link
Contributor

Version 1.8.0 failed to build on conda-forge on Windows; the error was

undefined reference to `clock_gettime'

Adding pthread to the list of libraries in Windows resolves the issue.

I'm assuming this for some reason isn't necessary in the standard CRAN build process, since otherwise it would have been caught already.

@gaborcsardi gaborcsardi merged commit f35db6a into r-lib:main Feb 18, 2025
12 checks passed
@gaborcsardi
Copy link
Member

Thanks!

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