Created attachment 313349 [details, diff] patch to add 'static-libs' USE flag to sqlite-3.7.12.1.ebuild Is there a reason that the sqlite ebuild disables the building of a static library by default? Attached is a patch that enables it if the 'static-libs' USE flag is enabled. Due to licensing conflicts, libpthread and libdl cannot be linked into this library, even if one wanted them so; therefore, assuming that sqlite is built with '--enable-threadsafe' and '--enable-dynamic-extensions' (as is the default), -lpthread and -ldl must be passed to the linker when using libsqlite3.a in one's software.
+ 05 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> sqlite-3.7.15.1.ebuild: + Add support for building static library, wrt bug #417907. Thanks to ari + edelkind <edelkind-gentoo-bugzilla AT episec.com> for discovering this issue + and providing patch