libtool
[Top][All Lists]
Advanced

[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: Sat, 8 Nov 2008 09:49:25 -0800

On Sat, Nov 8, 2008 at 9:22 AM, Roumen Petrov
<address@hidden> wrote:
> [SNIP]
>>>
>>> But problem is not in the libtool.
>>
>> Yes it is. If you're linking to libfoo, libtool reads libfoo.la and
>> adds direct links to everything in dependency_libs. Let's say libfoo
>> depends on libbar and libbaz. You're application ends up directly
>> linking to libfoo, libbar and libbaz instead of just libfoo.
>
> No. If project when build a library don't add dependent libraries to
> xxx_LIBADD libtool left dependency_libs empty in la-file.

Um, but what if the libraries actually needs to link to other
libraries? Just emptying LIBADD means you're building a broken
library.

--
Dan




reply via email to

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