summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorChristopher James Halse Rogers <[email protected]>2012-07-19 12:30:07 +1000
committerMatt Turner <[email protected]>2012-08-13 12:24:17 -0700
commit726f534bbb3f0356fbd5ceef7a1bba23024b4147 (patch)
treeb5700d5540162d1b9cbcf647ca30d9d8206843dd /src/glx
parentb2ecaab7ad671f97840867c26869e0accf25592c (diff)
build/glx: fix include paths for out-of-tree builds
Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Christopher James Halse Rogers <[email protected]>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/Makefile.am b/src/glx/Makefile.am
index aa3d8edf033..40e6b609dbf 100644
--- a/src/glx/Makefile.am
+++ b/src/glx/Makefile.am
@@ -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 \