[PATCH 2/2] build: fix build of matrix test
ppaalanen at gmail.com
Mon Jan 30 05:49:27 PST 2012
On Mon, 30 Jan 2012 15:02:06 +0200
Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
> 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 \
I never hit this problem, but there is a reason.
says to use C_INCLUDE_PATH=$WLD/include, and so I use it, but it hides
the build error this patch fixes.
The build error is about wayland-server.h not found. I'm guessing the
Mesa GL headers are found in the wrong place, too, but they at least
Should C_INCLUDE_PATH be removed from the guide?
More information about the wayland-devel