Mailinglist Archive: opensuse-bugs (8048 mails)

< Previous Next >
[Bug 238552] use --disable-static where appropriate
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 7 Feb 2007 05:54:56 -0700 (MST)
  • Message-id: <20070207125456.009B525C887@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=238552





------- Comment #15 from andreas.hanke@xxxxxxxxxxxxxx 2007-02-07 05:54 MST -------
It has to work in principal. I'm regularly building semi-static binaries of
wxGTK applications, where wxGTK is static and the rest, including GTK, shared.
wxGTK certainly has references to GTK and it works.

But it's certainly painful if the tools are not designed to work with it.
pkg-config has a --static switch to print out all indirect dependencies,
including those which are useless for shared linking, but necessary for static
linking.

In this case, it's a bug in libgnome-2.0.pc. It misses a line like this:

Libs.private: -lesd

But I doubt that fixing such issues is worth the hassle. I think that more or
less all packages have something like that somewhere and nobody is seriously
trying to build static GNOME programs anyway. (That's why nobody noticed or
cared about this bug in libgnome-2.0.pc.)


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >