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

Define CMAKE_AR when cross-compiling to mingw #125

Closed
wants to merge 1 commit into from

Conversation

jayvdb
Copy link

@jayvdb jayvdb commented Aug 9, 2021

Closes #124

@alexcrichton
Copy link
Member

Thanks for this! Unfortunately though I think that getting the archiver is a bit more complicated than listed here. There's already logic in the cc crate to do this and ideally we could reuse that, but it's not exported right now. Would you be up for making a PR to the cc crate to export this functionality which could then be used here?

@jayvdb
Copy link
Author

jayvdb commented Aug 9, 2021

This worked for me. I'm not going to have the mac for much longer, and wont be able to commit any of that time to working on a more complicated solution. That said, if the logic is already there in cc, I should be able to do the work you are suggesting from another OS. I'll look into it.

@m-ou-se m-ou-se closed this May 11, 2022
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.

Cross-compiling on macos to mingw
3 participants