On Wed, Nov 26, 2008 at 08:39:57PM +0100, "C. Bergstr?m" wrote: > Nicolas Williams wrote: > >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. > > > My problem with this wasn't specifically the dep, but more the way it's > part of the build.. It's explicitly assuming source *outside* the > current source tree is compiled.. (I'm not going to muck up my original > intent for help with this.)
Not so. $(ROOT)/usr/lib/libsqlite.o is built by ONNV itself. See $SRC/lib/libsqlite/. Nico --