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

Use llvm-ar, llvm-ranlib for Android NDK #983

Merged
merged 3 commits into from
Mar 2, 2024
Merged

Use llvm-ar, llvm-ranlib for Android NDK #983

merged 3 commits into from
Mar 2, 2024

Conversation

mariotaku
Copy link
Contributor

For newer Android NDK, target-triple-ar|ranlib has been replaced to llvm-ar|ranlib. Which could be an issue when compiling libs like https://github.com/sfackler/rust-openssl .

This PR tries to use llvm-ar|ranlib when the compiler family is Clang.

src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
Copy link
Collaborator

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I'd like to wait for additional approval from another maintainer

@NobodyXu NobodyXu merged commit e9379a4 into rust-lang:main Mar 2, 2024
21 checks passed
@NobodyXu
Copy link
Collaborator

NobodyXu commented Mar 2, 2024

Thank you!

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.

None yet

3 participants