[Mesa-dev] [PATCH 1/2] Use X11_INCLUDES instead of X11_CFLAGS

Jon TURNEY jon.turney at dronecode.org.uk
Fri Sep 4 04:43:05 PDT 2015


X11_CFLAGS is undefined, so these tests will fail to build if x11proto is
installed in a non-standard location.

(See also commits 35189d76, bc93c3798, 54b028ba, d901d7e08, etc.)

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 src/glx/tests/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glx/tests/Makefile.am b/src/glx/tests/Makefile.am
index b02a9e3..bdc78c0 100644
--- a/src/glx/tests/Makefile.am
+++ b/src/glx/tests/Makefile.am
@@ -10,7 +10,7 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)/include/GL/internal \
 	$(DEFINES) \
 	$(LIBDRM_CFLAGS) \
-	$(X11_CFLAGS)
+	$(X11_INCLUDES)
 
 TESTS = glx-test
 check_PROGRAMS = glx-test
-- 
2.5.1



More information about the mesa-dev mailing list