how to understand pkgconfig Requires: fields ?

Daniel Stone daniel at freedesktop.org
Sun Apr 30 05:36:10 PDT 2006


On Sun, Apr 30, 2006 at 10:24:28PM +1000, Drew Parsons wrote:
> I'd like to ask someone to clarifies the Requires fields in the
> pkgconfig .pc files.
> Allow me to use lib/XprintUtil as an example.  Its pc file (see
> http://webcvs.freedesktop.org/xorg/lib/XprintUtil/xprintutil.pc.in?view=markup) has:
> 
> Requires: x11 xt printproto
> Requires.private: x11 xp xt
> 
> What is the difference between Requires: and Requires.private:?
> 
> xp is the odd one out, needed only in .private. At which point does it need to be installed?

.private is required for static linking.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.x.org/archives/xorg-modular/attachments/20060430/09c74684/attachment.pgp


More information about the xorg-modular mailing list