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

Re: How to delete the .la file?

On 05/11/2011 06:30 PM, Patrick Matthäi wrote:
> Am 11.05.2011 18:27, schrieb Paul Elliott:
>> I gather that new libraries in the usual case are supposed to delete the la 
>> file.  What is the standard way to accomplish this if the package is written in 
>> dh?
> I am just using the following snippet in my rules:
> find debian/tmp/usr/lib -type f -name \*.la -exec sed
> 's/^dependency_libs/#dependency_libs/g' -i {} \;

That cleans out the dependency_libs entry in the la-file, which is the
correct thing to do IF there is another package referencing that file.
However, if that's not the case (like when packaging a new library), the
la-file shouldn't be installed at all.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: