Dnia 2013-08-19, o godz. 13:01:43 Bernhard Rosenkränzer <[email protected]> napisał(a):
> Hi,
> a recent commit making --disable-static a default option to
> %configure has brought up an interesting topic -- do we want to
> package static libraries?
>
> Most distributions are dumping most static libraries from their
> repositories, but that doesn't necessarily mean we should be doing
> the same thing.
>
> Of course the problem with static libraries is that if people
> actually using them and we push a critical bugfix to a library,
> people using static builds will still have the bug.
>
> But OTOH there are some uses to static libraries, e.g. if you were to
> write a non-free game that you didn't intend to update a lot, you
> can't seriously expect someone wanting to play the game 10 years from
> now to have a libpng.so.16 or a libqt-mt.so.3 around anymore (and
> even if people do, they might not work with prehistoric code), so for
> that sort of thing, static linking may actually be the best option
> and the libraries are still useful.
>
> I'm all for not having the *.a files in the standard -devel packages
> -- but I'm not so sure killing off the -static-devel packages is a
> good idea.
>
> ttyl
> bero
>
This recent change prevents such situations:
by default static lib is builded, then in spec file it is removed
"manually".
I see only {bin,elf}utils, gcc, glibc and boost which provides "useable"
static libraries.
This is applied only to software which uses autotools to run build and
it can bea easily overrided by addid "--enable-static" to configure
macro.
See example:
https://abf.rosalinux.ru/openmandriva/binutils/commit/04f4a89e7d0086dadd8f6a30ee50073c2a5b7c22
--
Regards
TPG
OpenMandriva.org
---
signature.asc
Description: PGP signature
