[arch-dev-public] cleaning up unneeded static libraries?

Sébastien Luttringer seblu at seblu.net
Sun Mar 3 13:56:31 EST 2013


On Sun, Mar 3, 2013 at 2:17 AM, Gaetan Bisson <bisson at archlinux.org> wrote:
> [2013-03-02 15:17:02 +0100] Jelle van der Waa:
>> Can't we add a rule to namcap, which warns packagers about static libs?
>> Then the packager can decide whether they should included or removed.
>
> Most packagers would not notice or care enough to remove static libs
> from the many packages where they are a complete waste of resources.
>
> In contrast, adding *.a to PURGE_TARGETS will definitely solve that
> problem in the long term without requiring anything from packagers -
> only those specific packages relying on static libs will need to add
> '!purge' to their options array. This seems the best solution to me.

What's about adding a new option? We already have libtool to clean
libraries unwanted stuff.
We can add a static or archive options which take care of this files.

I can provide a patch for pacman.

-- 
Sébastien "Seblu" Luttringer
https://www.seblu.net
GPG: 0x2072D77A


More information about the arch-dev-public mailing list