[Mesa-dev] [PATCH] nouveau: don't assume libdrm include prefix
Jonathan Gray
jsg at jsg.id.au
Thu Mar 20 04:57:52 PDT 2014
On Thu, Mar 20, 2014 at 07:29:32AM -0400, Ilia Mirkin wrote:
> On Wed, Mar 19, 2014 at 11:43 PM, Jonathan Gray <jsg at jsg.id.au> wrote:
> > drm headers may be installed in a different directory
>
> I'm curious -- how can this happen? Looking at Makefile.am from
> drm:nouveau/Makefile.am:
>
> libdrm_nouveauincludedir = ${includedir}/libdrm
> libdrm_nouveauinclude_HEADERS = nouveau.h
libdrm is built with bsd makefiles in the OpenBSD xenocara/X11 tree.
http://www.openbsd.org/cgi-bin/cvsweb/xenocara/lib/libdrm/
The *_drm.h headers are shared between userland and the kernel.
ie what Linux calls the 'uapi' headers can be found in
/usr/include/dev/pci/drm/
and the other libdrm headers are currently installed to
/usr/X11R6/include/
The libdrm*.pc pkg-config files reflect this.
More information about the mesa-dev
mailing list