Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2016 13:15:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 209813] Problems with implicit library dependencies introduced by gnome ports
Message-ID:  <bug-209813-6497-iiC9z7ZVYL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209813-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209813-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209813

--- Comment #6 from Tijl Coosemans <tijl@FreeBSD.org> ---
As far as I know upstream is very well aware of this and it's all intention=
al.=20
The dependencies are added by the headers.  Some glib headers include libin=
tl.h
and then use gettext in some macros.  Programs that use this API (directly =
or
indirectly) can end up with calls to gettext and need to be linked with
libintl.so.  These programs shouldn't have to care about how the API is
implemented (with gettext or something else) so the reasoning is that it's
pkg-config's job to add -lintl.  This means -lintl is always added even whe=
n it
isn't strictly necessary, but there isn't any more fine-grained method.  It
would be nice if library requirements could be expressed in headers (and ob=
ject
files) so the compiler (and linker) know exactly what libraries are needed.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209813-6497-iiC9z7ZVYL>