@zwass @Lucas Rodriguez There was indeed an additional step I was forgetting on getting sqlite to be fully integrated into osquery source code, which is mainly that the logic for patching is built around the code that import submodules. So the patching logic needs to be extracted; not a huge thing but it might need more testing.
Currently I'll just move the building logic to osquery, but keep sqlite source code in its own submodule. Then we can re-evaluate