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

Bug#662998: debian-policy: stripping static libraries



Package: debian-policy
Severity: wishlist

As far as I can tell, the Policy currently doesn't require stripping static libraries[0]. The de facto standard is to strip them with --strip-debug, because this what dh_strip does[1].

Can we make stripping static libraries a Policy “should”?


[0] The only reference I could find was footnote to §10.2: “You might also want to use […] ‘--strip-debug’ on static libraries.” This is a bit odd though, because the footnote applies to a paragraph which talks only about stripping shared libraries.

[1] More specifically, dh_strip calls “strip --with-debug” on all files matching “lib*.a”, except those ending with “_g.a”.

--
Jakub Wilk



Reply to: