[gentoo-dev] Re: Say no to static libraries!
Mike Frysinger wrote: > On Thursday 22 September 2005 05:23 am, Ervin Németh wrote: >>For automake packages it is as simple as giving a --disable-static to >>configure. > > > you can put 'EXTRA_ECONF=--disable-static' into your /etc/make.conf ... Thanks Mika, it works perfectly! Now let's do the same for xorg-x11, zlib, acl, attr, db, jpeg and so on. Do you feel the need for a new USE flag? /Ervin -- gentoo-dev@gentoo.org mailing list
[gentoo-dev] Re: Say no to static libraries!
Donnie Berkholz wrote: > Ervin Nemeth wrote: > | Now let's do the same for xorg-x11, > > Ha, good luck trying to pass standard configure options into imake. I see, but how about defining ForceNormalLib as NO in host.def? /Ervin -- gentoo-dev@gentoo.org mailing list
[gentoo-dev] Re: Say no to static libraries!
Mike Frysinger wrote: > On Friday 23 September 2005 04:10 am, Ervin Nemeth wrote: > >>Mike Frysinger wrote: >> >>>On Thursday 22 September 2005 05:23 am, Ervin Németh wrote: >>> >>>>For automake packages it is as simple as giving a --disable-static to >>>>configure. >>> >>>you can put 'EXTRA_ECONF=--disable-static' into your /etc/make.conf ... >> >>Now let's do the same for xorg-x11, zlib, acl, attr, db, jpeg and so on. >> >>Do you feel the need for a new USE flag? > > i dont feel the need to change anything. you already have two good examples > for controlling static libraries on your system. I've got no full solution. The EXTRA_ECONF way works only for automake packages. Using INSTALL_MASK='*.a' makes me really, really terrified if I think about sys-devel/gcc. /Ervin -- gentoo-dev@gentoo.org mailing list
[gentoo-dev] Re: Say no to static libraries!
Mike Frysinger wrote: > On Friday 23 September 2005 09:53 am, Ervin Nemeth wrote: >>I see, but how about defining ForceNormalLib as NO in host.def? > > it produces a bunch of static-only libraries And ForceNormalLib doesn't affect those libraries. INSTALL_MASK does, however. /Ervin -- gentoo-dev@gentoo.org mailing list
[gentoo-dev] Re: Say no to static libraries!
Brian Jackson wrote: Solar had a nifty per package INSTALL_MASK in his bashrc at one point I think. Now I think the USE flag should be "install no static libraries for which shared version is provided". In Solaris 10 Sun engineers have eliminated static libraries. Linux is not yet ready for this. So INSTALL_MASK is not sufficient - see Mike's post about xorg-x11. /Ervin -- gentoo-dev@gentoo.org mailing list