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

Enabling builds with ICU support #465

Open
Rapptz opened this issue Oct 7, 2020 · 1 comment
Open

Enabling builds with ICU support #465

Rapptz opened this issue Oct 7, 2020 · 1 comment

Comments

@Rapptz
Copy link

Rapptz commented Oct 7, 2020

For a project I am developing, I needed ICU support with the FTS3 module due to the inadequacies in the original tokenizer. However, this requires a separate library (ICU) on top of sqlite3 so it isn't possible to just define it within the amalgamation like the documentation proposes.

I'm unsure what's the proper way to resolve this. One way is to have the ICU builds in the pre-built binaries (Android does this since API 21). The other way is to let the user do it by allowing passing linker flags (for includes and libraries/their paths).

@JoshuaWise
Copy link
Member

One way is to compile the extension yourself and load it with db.loadExtension().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants