[Mesa-dev] [PATCH] automake: add missing inclusion of GL headers

Laurent Carlier lordheavym at gmail.com
Fri Jun 22 06:09:35 PDT 2012


Building fail when GL headers are not installed in the system,
so add inclusion of these headers.
---
 src/mesa/x86-64/Makefile.am |    1 +
 src/mesa/x86/Makefile.am    |    1 +
 2 files changed, 2 insertions(+)

diff --git a/src/mesa/x86-64/Makefile.am b/src/mesa/x86-64/Makefile.am
index 79cbb53..271ece9 100644
--- a/src/mesa/x86-64/Makefile.am
+++ b/src/mesa/x86-64/Makefile.am
@@ -24,6 +24,7 @@ if HAVE_X86_64_ASM
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/src/mesa \
 	-I$(top_srcdir)/src/mapi \
+	-I$(top_srcdir)/include \
 	$(API_DEFINES) \
 	$(DEFINES)
 
diff --git a/src/mesa/x86/Makefile.am b/src/mesa/x86/Makefile.am
index f241de5..2b43f9d 100644
--- a/src/mesa/x86/Makefile.am
+++ b/src/mesa/x86/Makefile.am
@@ -24,6 +24,7 @@ if HAVE_X86_ASM
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/src/mesa \
 	-I$(top_srcdir)/src/mapi \
+	-I$(top_srcdir)/include \
 	$(API_DEFINES) \
 	$(DEFINES)
 
-- 
1.7.10.4



More information about the mesa-dev mailing list