Skip to content

Conversation

simolus3
Copy link
Contributor

This excludes sqlite3 symbols that are platform-specific or depend on optional SQLite features to ensure they're not linked by SQLiter.

Because cinterop otherwise just looks at sqlite3.h to determine symbols, it's possible that references to these symbols end up in compiled apps or frameworks when building Kotlin projects as libraries. Depending on how SQLite gets linked in the end, some of these symbols might not be available, causing linker errors.

Given that these functions are not used by SQLiter, we can simply exclude them from compilation.

@simolus3
Copy link
Contributor Author

Merged in #125 (thanks!), so closing.

@simolus3 simolus3 closed this Apr 11, 2025
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