[Bug 209813] Problems with implicit library dependencies introduced by gnome ports
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue May 31 13:15:06 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209813
--- Comment #6 from Tijl Coosemans <tijl at FreeBSD.org> ---
As far as I know upstream is very well aware of this and it's all intentional.
The dependencies are added by the headers. Some glib headers include libintl.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 when 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 object
files) so the compiler (and linker) know exactly what libraries are needed.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the freebsd-gnome
mailing list