-
Notifications
You must be signed in to change notification settings - Fork 120
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
Q: Way to static link all these into a single library? #69
Comments
Do you mean compiling all extensions into the SQLite binary itself? It's possible, but may require some code changes. And I've never tried it. |
Yes. I imagine that this would be easier for mobile platforms and other constrained environments. BTW, this is a really great resource. Thanks for putting it together. |
I've thought about bundling with SQLite, but haven't tried it yet. Will do someday. Thanks a lot! |
I compile a static sqlite3, with certain sqlean extensions compiled in, at work. Here's a dump of my commit message from our private repo for doing so:
The gist is a patch against, I believe, https://www.sqlite.org/2022/sqlite-autoconf-3380100.tar.gz. I created the gist by copy-pasting sections of code from sqlean here. |
The first step is a single-file extension bundle, available as of 0.21.0. |
The second step is a custom SQLite shell with preinstalled extensions. |
The third step is a drop-in replacement for Python's |
The fourth (and probably final) step is the browser-based build. Let me know if you have something else in mind. |
Is it possible to link some subset of these into a static library to be included directly in a binary?
The text was updated successfully, but these errors were encountered: