Andreas Volz <[EMAIL PROTECTED]> wrote:
> 
> The reason is that I had some bad luck integrating applications into
> Gentoo that include dependency sources. The Linux (here: Gentoo) way is
> to have shared objects of all dependencies and the ability to let all
> applications automatic benefit from a new compatible library release.
> For windows it's for sure easier to simply use the amalgamation version.

No need for a source dependency.  Simply include sqlite3.c and
sqlite3.h as part of your source tree.  When you want to
upgrade, grab a new copy of sqlite3.[ch] from the website and
drop them in place of the old.

In my experience, this is what most developers do.  Certainly
this is what I do.  (Witness the sqlite3.c source file found
in the source to http://fossil-scm.hwaci.com/)  The SQLite 
source code is also found in trees for and statically linked
with PHP, Monotone, Firefox, Skype clients, McAfee products, 
Google Gears, Adobe Lightroom and Acroread, and countless 
other programs, known and unknown.  In fact, the only company 
I know of that makes use of shared libraries for SQLite is Apple.
They can get away with this because they control the operating
system.  But notice that 3rd-party products that run on a Mac 
still generally statically link against their own SQLite rather
than use whatever shared library that Apple supplies.

I think you are better of picking a version of SQLite that
you like, making it a part of your source tree, and going
with that.  It is simple enough to upgrade - just drop in a
new file.  Trying to "install" SQLite or making dependencies
on SQLite just complicates matters unnecessarily.

--
D. Richard Hipp <[EMAIL PROTECTED]>


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to