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

Fix 64-bit Android ABIs & allow manual ABI selection #3

Merged

Conversation

PeteClubSeven
Copy link
Contributor

@PeteClubSeven PeteClubSeven commented Apr 14, 2023

Hi, I'm submitting fixes for the supported 64-bit ABIs (arm64-v8a & x86_64), details of which can be found in f173e63. Additionally I added a feature where you can manually specify the ABI to build for secp256 on Android, 20400fa.

This PR also fixes #2

- arm64, x86_64: we looked in a "lib" directory instead of "lib64"
- x86_64: the lib was incorrectly stored in an "x86-64" directory, not "x86_64"
@giahuy98
Copy link
Collaborator

giahuy98 commented Apr 14, 2023

Thank you for the PR! Everything looks good now, but going forward, we plan to eliminate the building script and instead use libsecp256k1 (bitcoin-core/secp256k1#1113) directly in our CMakeLists.txt

@giahuy98 giahuy98 merged commit 1d3e95a into nunchuk-io:main Apr 14, 2023
@PeteClubSeven PeteClubSeven deleted the feature/secp256-script-improvements branch April 14, 2023 11:39
@PeteClubSeven
Copy link
Contributor Author

Thank you for the PR! Everything looks good now, but going forward, we plan to eliminate the building script and instead use libsecp256k1 (bitcoin-core/secp256k1#1113) directly in our CMakeLists.txt

Thanks for letting me know, this particular improvement was useful for me but I'll refrain from modifying further unless absolutely necessary

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.

Ninja can't find libsecp256k1.a for Android
2 participants