Re: Static linking considered harmful

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

 



On Wed, Nov 22, 2006 at 07:24:15PM +0300, Dmitry Butskoy wrote:
> Alan Cox wrote:
> 
> >Far simpler, cleaner and more friendly will be to dump the static
> >libraries into libfoo-devel-static packages which are not in the
> >default install.  That ensures people who need to can do static
> >links and the default behaviour is that they are not there. The
> >-static packages could even get dropped off the CD easily enough
> >once the mechanisms for handling one srpm spitting out binary
> >components for extras and core are sorted

> BTW, such a "-static" subpackages might be handled the same way as 
> "-debuginfo". Consider some example of needed rpm macros (attached 
> below), written one year ago when similar topic was discussed at 
> fedore-extras-devel list.

That's very interesting, and one could perhaps even skip the need for
explicitely invoking find_static in %install, but have that doen
automatically dependent on presence of any *.a lib. E.g. w/o touching
the specfiles at all. Very nice idea, Dmitry!
-- 
Axel.Thimm at ATrpms.net

Attachment: pgp0VespzLQ6s.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux