[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool does not read LIBRARY_PATH
From: |
Samuel Thibault |
Subject: |
Re: libtool does not read LIBRARY_PATH |
Date: |
Mon, 11 May 2009 19:14:35 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
Bob Friesenhahn, le Mon 11 May 2009 11:55:19 -0500, a écrit :
> On Mon, 11 May 2009, Samuel Thibault wrote:
> >but the thing is: LIBRARY_PATH does contain libfoobar.a. Setting LDFLAGS
> >to "-L/where/libfoobar.a/is" makes the problem go away. It looks like
> >libtool is not taking LIBRARY_PATH into account. It should.
>
> I have never heard of LIBRARY_PATH before.
Err, it is even mentioned in libtool...
> What linker or operating system uses this convention?
Gcc, since ages.
> Why do you feel that libtool should support it?
Because that's a very easy way for a user to install libraries in his
home without cluttering LDFLAGS with -Ls (which might not be taken in
account by various Makefiles etc, while LIBRARY_PATH is always taken
into account by gcc).
Samuel
Re: libtool does not read LIBRARY_PATH, Ralf Wildenhues, 2009/05/11