vbsteven
01/04/2023, 12:07 PMexport CC=<konan-gcc>
export LDFLAGS=-L<konan-lib-folder>
./configure --prefix=/tmp/somelibfolder
and linking that in my final output binary.kevin.cianfarini
01/04/2023, 3:17 PMvbsteven
01/04/2023, 4:06 PMkpgalligan
01/04/2023, 6:39 PMkpgalligan
01/04/2023, 6:42 PMkevin.cianfarini
01/04/2023, 6:54 PMsqlite3.h
api surface, how does SQLiter deal with API changes/additions if dynamically linking against the platform lib?kpgalligan
01/04/2023, 7:04 PMkevin.cianfarini
01/04/2023, 7:08 PMkpgalligan
01/04/2023, 7:10 PMkpgalligan
01/04/2023, 7:11 PMkevin.cianfarini
01/04/2023, 7:12 PMkpgalligan
01/04/2023, 7:14 PMkpgalligan
01/04/2023, 7:15 PMkevin.cianfarini
01/04/2023, 7:15 PMkevin.cianfarini
01/04/2023, 7:17 PMkpgalligan
01/04/2023, 7:20 PMSQLiteDatabase
on Android, you have no choice but to ship your own version of the sqlite binary. Then, of course, it would kind of make sense to do that on iOS, but beyond discussing it, nobody’s really wanted it enough to get serious about it.kpgalligan
01/04/2023, 7:21 PMIt’s also one of those situations where sqlite itself also has a huge pile of compiler settingsI’d have to look at xerial and see what they did, but if you’re building your own sqlite, I imagine it’s tempting to also tweak some of those. Maybe like a sqlite library generator Gradle plugin, which would have like 3 users, but would let you specify the sqlite version, and all the settings you want, and output a KMP sqlite library.
kevin.cianfarini
01/04/2023, 7:23 PMkpgalligan
01/04/2023, 7:29 PMvbsteven
01/04/2023, 7:57 PMkpgalligan
01/04/2023, 8:01 PMvbsteven
01/04/2023, 8:01 PMvbsteven
01/04/2023, 8:03 PMlinkerOpts