summaryrefslogtreecommitdiff
path: root/src/glx/Makefile.am
diff options
context:
space:
mode:
authorChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>2012-07-19 12:30:07 +1000
committerMatt Turner <mattst88@gmail.com>2012-08-13 12:24:17 -0700
commit726f534bbb3f0356fbd5ceef7a1bba23024b4147 (patch)
treeb5700d5540162d1b9cbcf647ca30d9d8206843dd /src/glx/Makefile.am
parentb2ecaab7ad671f97840867c26869e0accf25592c (diff)
build/glx: fix include paths for out-of-tree builds
Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Diffstat (limited to 'src/glx/Makefile.am')
-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 aa3d8edf03..40e6b609db 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 \