[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool 1.5.2* problem
From: |
Ralf Wildenhues |
Subject: |
Re: libtool 1.5.2* problem |
Date: |
Thu, 16 Apr 2009 20:26:32 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello Vincent,
* Vincent Torri wrote on Thu, Apr 16, 2009 at 01:04:00PM CEST:
> I know that libtool 1.5.2* is a very old version, not maintained anymore,
> but i would like to know if the problem that I have is related to that
> version or not. I cross compile to have a Windows dll (in case it
> matters)
>
> I link a lib named 'toto' against libfoo.la. In libfoo.la, in the
> dependency_libs variable, I have libbar.la.
>
> but the link command that creates libtoto.dll does not mention libbar.a
> file, nor all the dependencies that are in dependency_libs of libfoo.la
>
> Is it a known behavior with that version of libtool ?
>
> Note that there is no problem with libtool 2.2.*
Most likely your 1.5.2* is from Debian which, on GNU/Linux, enables
link_all_deplibs=no which the FSF version doesn't do. Hmm, maybe some
old FSF version did, but then backed that out again, I don't remember.
You can find out with
./libtool --config | grep "^link_all_deplibs="
Or I completely misunderstood the question and Bob didn't. :-)
Cheers,
Ralf