Skip to content

Conversation

simolus3
Copy link
Contributor

This follows suggestions from the Android documentation to build the SQLite bindings as a 16KB-aligned ELF.

NDK 28 would build compatible libraries by default, but I assume many users are on the current LTS version 27. Setting this flag should hopefully result in 16KB-aligned binaries for most users then.
There are hacks to make this work with NDK 26 and older, but the main recommendation seems to be upgrading instead, so that's what we can recommend to users as well.

@simolus3 simolus3 requested a review from rkistner October 13, 2025 08:02
@simolus3 simolus3 merged commit d108959 into main Oct 13, 2025
3 checks passed
@simolus3 simolus3 deleted the 16kb-pages branch October 13, 2025 08:53
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