[PATCH] xserver: include GL CFLAGS in dixmod build

Dan Nicholson dbn.lists at gmail.com
Fri Apr 29 15:56:42 PDT 2011


On Fri, Apr 29, 2011 at 10:15 AM, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
> Found this:
>
> make[5]: Entering directory `/home/jbarnes/working/xserver/hw/xfree86/dixmods'
>  CCLD   librecord.la
>  CCLD   libdbe.la
>  CC     glxmodule.lo
> In file included from glxmodule.c:44:0:
> ../../../glx/glxserver.h:56:19: fatal error: GL/gl.h: No such file or directory
> compilation terminated.
>
> when trying to build the tree at an alternate prefix without the GL
> headers installed in the normal location.  So add the GL CFLAGS to pick
> up the pkgconfig include path correctly.
>
> Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>

I'm surprised you're not hitting more of these. :) I often get the
suspicion that the build is picking up my distro's X headers.

Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>

--
Dan


More information about the xorg-devel mailing list