[PATCH weston v2] weston.pc: Properly specify Requires.private
Quentin Glidic
sardemff7+wayland at sardemff7.net
Wed Apr 6 12:09:41 UTC 2016
On 06/04/2016 08:39, Bryce Harrington wrote:
> [snip]
> One thing I wonder is if any of these might need to become a Require
> when we are providing a libweston library API?
From [1] which references [2], a lot of pkg-config files are doing it
wrong. Requires should only be used in rare cases (though it appeared
quite late in pkg-config, and most projects just didn’t update).
I believe the most common case is with GObject: the G_TYPE_CHECK_*
macros are calling g_type_check_* functions which are libgobject-2.0.so
symbols.
In Weston, we have no such thing, so we are safe.
[1] <https://people.freedesktop.org/~dbn/pkg-config-guide.html>
[2] <https://wiki.openmandriva.org/en/Overlinking_issues_in_packaging>
--
Quentin “Sardem FF7” Glidic
More information about the wayland-devel
mailing list