Re: .la file status and hint to clear the dependency_libs field
On 05/26/2011 11:55 AM, Michael Biebl wrote:
> Am 26.05.2011 10:46, schrieb Simon McVittie:
>> On Thu, 26 May 2011 at 08:47:06 +0200, Luk Claes wrote:
>>> Comments welcome, but foremost I'd like a mass effort to clear the
>>> remaining dependency_libs fields! :-)
>>
>> Am I right in thinking that this is the process people should follow?
>>
>> if depended-on:
>> if dependency_libs:
>> clear the dependency_libs
>> else:
>> do nothing (until you are no longer depended-on)
>> else:
>> if dependency_libs:
>> clear the dependency_libs
>>
>> if you are confident that it won't break anything:
>> delete the .la file entirely
>>
>
> Clearing the dependency_libs is always safe, afaics, so I'd rather say it is
> something like
>
> if depended-on
> clear dependency_libs
> else
> remove *.la files
There are some good reasons to keep some specific *.la files around,
that's why I'm not aiming at removing them, but at least have the real
problem solved.
So I suggest:
if dependency_libs
clear dependency_libs
Cheers
Luk
Reply to: