[PATCH 2/2] build: fix build of matrix test

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Mon Jan 30 05:02:06 PST 2012


This test uses files from src/ so use COMPOSITOR_CFLAGS to find headers
in non-standard locations.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
---
 tests/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index a1f361e..9facc8e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -6,7 +6,7 @@ endif
 
 
 AM_CFLAGS = $(GCC_CFLAGS)
-AM_CPPFLAGS = -I../src -DUNIT_TEST
+AM_CPPFLAGS = -I../src -DUNIT_TEST $(COMPOSITOR_CFLAGS)
 
 matrix_test_SOURCES =				\
 	matrix-test.c				\
-- 
1.7.4.1



More information about the wayland-devel mailing list