On 20 May 2001, Martin Baulig wrote:

> Alexandre Oliva <[EMAIL PROTECTED]> writes:
> 
> > 
> > Just make sure no library appears explicitly more than once in the
> > dependence list of any library or program, and you'll get exactly what
> > you want.
> 
> This does not work.
> 
> Imagine the following scenario:
> 
>         liba.la         - depends on -lm
>         libb.la         - depends on -lm
>         libc.la         - depends on -la and -lb
> 
> You'll get -l twice in libc.la.
> 

If you always linked libraries against their dependencies the situation -
or even the need for linking N-th level depenencies would not occour. In
fact, you don't then even need to care about indirect depenencies.

Or are there broken ld.so-s that wouldn't support this?

> -- 
> Martin Baulig
> [EMAIL PROTECTED] (private)
> [EMAIL PROTECTED] (work)
> 

        Sander

One day a tortoise will learn to fly
        -- Terry Pratchett, 'Small Gods'


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to