[Top][All Lists]

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

Re: [PATCH] Don't install .la files when --no-la-files is used

From: Dan Nicholson
Subject: Re: [PATCH] Don't install .la files when --no-la-files is used
Date: Fri, 7 Nov 2008 06:40:22 -0800

On Thu, Nov 6, 2008 at 11:49 PM, Ralf Wildenhues <address@hidden> wrote:
> Hello Russ,
> * Russ Allbery wrote on Fri, Nov 07, 2008 at 01:20:28AM CET:
>> The most frequent problem caused by *.la files is that they add a pile of
>> unnecessary dependencies to shared libraries, which further entangles
>> package dependencies and makes upgrades unnecessarily hard.  (This is the
>> long-standing problem of including all dependencies required for static
>> libraries, which aren't needed for shared libraries on systems that handle
>> transitive dependency closures when loading shared libraries.)
> Which is nicely solved with --as-needed, as long as you don't need to
> stick in extra, seemingly-unneeded library dependencies that only become
> useful for dlopen'ed modules.  Since the latter isn't portable anyway
> (those modules should have linked against said libraries), it's best to
> avoid this situation if possible.

In libtool-1.5, --as-needed was being silently discarded when linking
libraries. Has that been fixed in 2.2?


reply via email to

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