glxl/tests: Use X11_INCLUDES instead of X11_CFLAGS
authorJon TURNEY <jon.turney@dronecode.org.uk>
Fri, 4 Sep 2015 11:43:05 +0000 (12:43 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 7 Sep 2015 09:43:32 +0000 (10:43 +0100)
X11_CFLAGS is undefined, so these tests will fail to build if x11proto is
installed in a non-standard location.

(See also commits 35189d76bc93c379854b028bad901d7e08, etc.)

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/glx/tests/Makefile.am

index b02a9e3770e4d7eb25cca9616f97cf48a5d35d6c..bdc78c0d5aff6dfd81e382d44ef2a61b3403c344 100644 (file)
@@ -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