On Wed, Feb 27, 2008 at 12:00:32PM -0600, Nicolas Williams wrote: > On Wed, Feb 27, 2008 at 08:10:02PM +1300, Laszlo (Laca) Peter wrote: > > > > On Tue, 2008-02-26 at 17:47 -0600, Nicolas Williams wrote: > > > BTW, I needed fix_elf_runpath() because libtool was somehow adding > > > $SRC/lib/libsqlite3/... to the runpath of libtclsqlite3 (but not to > > > libsqlite3). Don't ask me why; I don't know why. > > > > libtool adds the directories where it finds consumed libs to the > > runpath, unless there's a .la file there that tells libtool where > > the consumed library will end up eventually[1]. This is quite a > > reasonable behaviour, if you think about it, it just happens to be > > incompatible with the way SFW is built. > > That's not at all reasonable. Who builds where they install??
Reasonable or not, if injecting a .la file into the source directory will prevent libtool from adding crud to the runpath, perhaps it's an easy way of getting what we want. Danek
