summaryrefslogtreecommitdiffstats
path: root/src/glx
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
parentb2ecaab7ad671f97840867c26869e0accf25592c (diff)
downloadexternal_mesa3d-726f534bbb3f0356fbd5ceef7a1bba23024b4147.zip
external_mesa3d-726f534bbb3f0356fbd5ceef7a1bba23024b4147.tar.gz
external_mesa3d-726f534bbb3f0356fbd5ceef7a1bba23024b4147.tar.bz2
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')
-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 aa3d8ed..40e6b60 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 \