[Top][All Lists]

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

Removing duplicate occurences from dependency_libs

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


somewhere between libtool 1.3.x and 1.4, you did the following:

1999-12-15  Thomas Tanner  <address@hidden>

        * don't remove multiple occurences from dependency_libs
          of a library, otherwise many dependencies would get lost


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 ?

Here's a patch for this:

Attachment: diff
Description: Binary data

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

reply via email to

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