[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool does not read LIBRARY_PATH
From: |
Ralf Wildenhues |
Subject: |
Re: libtool does not read LIBRARY_PATH |
Date: |
Mon, 11 May 2009 23:31:45 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi Samuel,
thank you for the bug report!
* Samuel Thibault wrote on Mon, May 11, 2009 at 03:02:16PM CEST:
> While linking in a msys/mingw32/windows environment, libtool tells me
>
> *** Warning: linker path does not have real file for library -lfoobar.
[...]
> 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.
Indeed. It could be argued for your case whether you are in a cross
compile situation, but at yes, with non-cross-compile situations,
libtool should take LIBRARY_PATH into account also when looking for
libraries, not only as a variable to be saved for relinking.
If somebody beats me to a patch, be my guest (be sure to add a test
case!).
Cheers,
Ralf
Re: libtool does not read LIBRARY_PATH,
Ralf Wildenhues <=