How to include SQLite in a Stand-Alone Executable?

How do I use libsqlite3 ? Would like to distribute sqlite with an exe but unsure how to do so with that pkg

Installing the package then building a distribution with raco exe followed by raco distribute should be enough. The package puts the foreign lib in the right place and the db lib uses define-runtime-path to look it up so it should all work out.

(thanks to @bogdan for great answer)

2 Likes