build/glx: fix include paths for out-of-tree builds
authorChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Thu, 19 Jul 2012 02:30:07 +0000 (12:30 +1000)
committerMatt Turner <mattst88@gmail.com>
Mon, 13 Aug 2012 19:24:17 +0000 (12:24 -0700)
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
src/glx/Makefile.am

index aa3d8edf0334b715cd170064063fb9fa2fb12706..40e6b609dbf5834e0b668554201efb7583a12cd4 100644 (file)
@@ -37,6 +37,8 @@ AM_CFLAGS = \
        -I$(top_srcdir)/include/GL/internal \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mapi/glapi \
+       -I$(top_builddir)/src/mapi \
+       -I$(top_builddir)/src/mapi/glapi \
        $(SHARED_GLAPI_CFLAGS) \
        $(EXTRA_DEFINES_XF86VIDMODE) \
        -D_REENTRANT \