SQLite Forum

Amalgamation file for specific extension
Login
> I suspect the question you meant to ask is: 

FWIW, i understood the OP as meaning: is there a set of -Dxxxx options they can provide which will filter the core sqlite lib *out* of the build, leaving *only* the desired extension(s) in the output object file.

That does sound like an interesting way to distribute extensions, with the caveat that those extensions would, de facto, be assumed to be compatible with the version of sqlite they're bundled with and may well not work with the hypothetical external sqlite copy the OP apparently already has.