[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool-1.5.2 searches /usr/lib before -L<dir>
From: |
Albert Chin |
Subject: |
Re: libtool-1.5.2 searches /usr/lib before -L<dir> |
Date: |
Sat, 21 Feb 2004 12:54:51 -0600 |
User-agent: |
Mutt/1.4i |
On Sat, Feb 21, 2004 at 10:43:22AM -0800, Russ Allbery wrote:
> Pieter Grimmerink <address@hidden> writes:
>
> > OK, now I've given the library in -L<dir> a .la file as well. Now both
> > libraries have a .la file, and libtool-1.5.2 uses the correct library,
> > in -L<dir>. So that's solved then.
>
> So, basically, it sounds like libtool has reinvented the very annoying
> Tru64 library search mechanism, where any shared libraries are found
> before static libraries regardless of the relative order on the library
> path, except as applied to *.la files.
I don't think libtool is doing this. It looks like it's preferring
libraries with corresponding .la files. Even that is a bug though.
Someone needs to dig further.
--
albert chin (address@hidden)