[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: |
Sat, 8 Nov 2008 08:24:30 -0800 |
On Sat, Nov 8, 2008 at 7:00 AM, Roumen Petrov
<address@hidden> wrote:
> Russ Allbery wrote:
>>
>> Roumen Petrov <address@hidden> writes:
>>>
>>> Russ Allbery wrote:
>>
>>>> Debian's experience to date is that --as-needed is buggy and breaks a
>>>> lot of software, and overall is not a particularly stable solution.
>>>> Removing *.la files so that the unneeded shared libraries aren't linked
>>>> in the first place works considerably better at the moment.
>>
>>> Could you point by example how libtool add "pile of unnecessary
>>> dependencies" ? Whit this example could you confirm that libtool add
>>> more(extra) libraries then specified by project authors ?
>>
>> When you create a libtool library, libtool records every library against
>> which that library was linked into the *.la file. If you then link
>> another shared library against that shared library using libtool, libtool
>> reads that list of libraries from the *.la file and links the new library
>> against them as well.
>
> 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.
--
Dan
- Re: [PATCH] Don't install .la files when --no-la-files is used, (continued)
- Re: [PATCH] Don't install .la files when --no-la-files is used, Dan Nicholson, 2008/11/03
- Re: [PATCH] Don't install .la files when --no-la-files is used, Roumen Petrov, 2008/11/03
- Re: [PATCH] Don't install .la files when --no-la-files is used, Dan Nicholson, 2008/11/03
- Re: [PATCH] Don't install .la files when --no-la-files is used, Russ Allbery, 2008/11/06
- Re: [PATCH] Don't install .la files when --no-la-files is used, Ralf Wildenhues, 2008/11/07
- Re: [PATCH] Don't install .la files when --no-la-files is used, Dan Nicholson, 2008/11/07
- Re: [PATCH] Don't install .la files when --no-la-files is used, Russ Allbery, 2008/11/07
- Re: [PATCH] Don't install .la files when --no-la-files is used, Roumen Petrov, 2008/11/07
- Re: [PATCH] Don't install .la files when --no-la-files is used, Russ Allbery, 2008/11/07
- Re: [PATCH] Don't install .la files when --no-la-files is used, Roumen Petrov, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used,
Dan Nicholson <=
- Re: [PATCH] Don't install .la files when --no-la-files is used, Roumen Petrov, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Dan Nicholson, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Roumen Petrov, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Russ Allbery, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Roumen Petrov, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Russ Allbery, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Roumen Petrov, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Russ Allbery, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Roumen Petrov, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Bob Friesenhahn, 2008/11/08