On Fri, Feb 26, 2010 at 13:38:59 -0500, Kristian Høgsberg wrote:

> On Fri, Feb 26, 2010 at 1:07 PM, Julien Cristau <[email protected]> wrote:
> > nouveau_drmif.h includes xf86drm.h.
> 
> If it's a source level dependency it should be a regular Requires: in
> the .pc.  Requires.private: is only for private libraries you link to
> but don't expose their API in your header files.  The idea is (AFAIK)
> that you can ask pkg-config to list all libraries to link to for
> static linking, in which case pkg-config needs a way to find all
> needed libraries.  It even looks like Requires.private has been
> obsoleted by Libs.private in recent pkg-config.
> 
That's not what the pkg-config maintainer says...

http://err.no/personal/blog/2008/Mar/25

Using Requires.private lets us get the necessary cflags, but avoids
linking to the library if not using --static.

Cheers,
Julien

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to