On Sun, 13 Dec 2009 15:40:34 -0500
Albert Hopkins <mar...@letterboxes.org> wrote:
> GTK+, i believe, can't be built statically as it uses dynload for
> themes, input methods, etc etc.  Even most proprietary gtk-based
> software that I know of (e.g. Adobe Flash and VMWare) either are
> distributed with GTK+ linked dynamically or they provide their own
> GTK libs).

Hmm, I'll test that because I use GTK+ although it is not a GUI app.

> You can apply "-static" to CFLAGS, but make sure you have a binpkg
> built first, as there is a chance you may break something.  You can
> also try passing "--enable-static" to EXTRA_ECONF.  That's probably
> safer than the former, but the same caveat applies.

Ah, in all the years using Gentoo I have never needed EXTRA_ECONF,
although I've heard a lot about it on this list. It is, of course,
listed in make.conf man page, but since everything works here I usually
do not need to look at it.

Anyway, thanks for the pointer. I'm testing it right now, and it seems
to work so far. I'll report back when emerge is finished.


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
                                              (Einstein)

Attachment: signature.asc
Description: PGP signature

Reply via email to