[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing duplicate occurences from dependency_libs

From: Martin Baulig
Subject: Re: Removing duplicate occurences from dependency_libs
Date: 20 May 2001 17:04:42 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Alexandre Oliva <address@hidden> writes:

> On May 20, 2001, Martin Baulig <address@hidden> wrote:
> > If you have a "complicated" dependency setup, this will slow down linking
> > in a very extreme way (it is more than 5 times slower for me) because I get
> > libraries like -lm or -ldl listed over 30 times in the dependency_libs.
> > Is it possible to add an argument to libtool to get back the old behavior,
> > for instance -unique-dependency-libs ?
> 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:         - depends on -lm         - depends on -lm         - depends on -la and -lb

You'll get -l twice in

Martin Baulig
address@hidden (private)
address@hidden (work)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]