[PATCH 2/2] Update .pc file Requires lines to express full dependencies
Alan Coopersmith
alan.coopersmith at oracle.com
Wed Feb 12 17:48:51 PST 2014
On 02/12/14 12:14 PM, Keith Packard wrote:
> Some xcb libraries depend on others; make these dependencies explicit
> in the .pc files that are installed.
Dependencies via libraries should be tracked via linking the libraries so
the ELF data records them correctly.
If the headers are required, the dependencies should appear on the
Requires.private: line, not the Requires: line - for most X software,
the Requires line should be nearly empty, and most things expressed
on Requires.private (which also handles static linking if needed).
http://people.freedesktop.org/~dbn/pkg-config-guide.html#writing
http://people.freedesktop.org/~dbn/pkg-config-guide.html#faq
http://err.no/personal/blog/2008/Mar/25
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list