On Wed, Nov 26, 2008 at 02:59:57PM -0500, James Carlson wrote:
> Nicolas Williams writes:
> > On Wed, Nov 26, 2008 at 07:45:40PM +0100, "C. Bergstr?m" wrote:
> > > When it comes to building against a multilib based system there's other 
> > > more elegant ways to depend on specific versions than
> > > 
> > > LIBSQLITE = $(ROOT)/usr/lib/libsqlite.o
> > > 
> > > To really explain why this should be avoided is an entirely different 
> > > thread I won't bore anyone here with..
> > 
> > I don't agree.  SQLite is great, stable and all that.  But SMF is so
> > critical to system boot that it simply must not be allowed to break
> > under any circumstance, so SQLite (version 2 in this case) really must
> > be statically linked into svc.configd.  You want as few dependencies as
> > possible here.
> 
> We had this discussion back with PSARC 2002/117 and the elimination of
> static libraries from Solaris.
> 
> I don't believe we should bring them back.  Dynamic libraries
> (including libc itself) are a part of the system, no more or less
> significant than genunix itself.  The removal or destruction of them
> is no more or less "risky" than damaging any of a hundred other parts
> of the system that are crucial for normal operation.
> 
> No more static libraries.  It's not just a Big Rule; it's a good idea.

Nit: This is not a static library.

Reply via email to