Mesa (master): build/glx: fix include paths for out-of-tree builds

Matt Turner mattst88 at kemper.freedesktop.org
Mon Aug 13 19:24:39 UTC 2012


Module: Mesa
Branch: master
Commit: 726f534bbb3f0356fbd5ceef7a1bba23024b4147
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=726f534bbb3f0356fbd5ceef7a1bba23024b4147

Author: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
Date:   Thu Jul 19 12:30:07 2012 +1000

build/glx: fix include paths for out-of-tree builds

Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>

---

 src/glx/Makefile.am |    2 ++
 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 \




More information about the mesa-commit mailing list