On Nov 12, 2015, at 1:25 PM, Lonnie Abelbeck <lists at lonnie.abelbeck.com> 
wrote:

> When upgrading from SQLite 3.8.9 to 3.9.2 I noticed our binary image grew by 
> about 600KB, the culprit was the /usr/bin/sqlite3 shell tool is now 
> statically linked instead of dynamically linked as before.

Much thanks to Dan for providing an elegant solution, I configured with 
--disable-static-shell with this patch... (and regenerate autoconf)

Add the "--enable-static-shell" option to the amalgamation autoconf script. If 
set (the default) the compiled shell tool is statically linked against 
sqlite3.o. Otherwise, it is linked against libsqlite3.so.
http://www.sqlite.org/src/info/499a02a34316cada

Works perfectly for both cases, but most importantly: --disable-static-shell

Thanks for the prompt, elegant solution.

Lonnie

Reply via email to