On Fri, Feb 26, 2010 at 1:07 PM, Julien Cristau <jcris...@debian.org> 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. > Signed-off-by: Julien Cristau <jcris...@debian.org> > --- > nouveau/libdrm_nouveau.pc.in | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/nouveau/libdrm_nouveau.pc.in b/nouveau/libdrm_nouveau.pc.in > index 7ef49e5..6ae6287 100644 > --- a/nouveau/libdrm_nouveau.pc.in > +++ b/nouveau/libdrm_nouveau.pc.in > @@ -8,3 +8,4 @@ Description: Userspace interface to nouveau kernel DRM > services > Version: 0.6 > Libs: -L${libdir} -ldrm_nouveau > Cflags: -I${includedir} -I${includedir}/drm -I${includedir}/nouveau > +Requires.private: libdrm > -- > 1.6.6.1 > > > ------------------------------------------------------------------------------ > Download Intel® 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 > Dri-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dri-devel > ------------------------------------------------------------------------------ Download Intel® 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 Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel