From 0a828e098c83706357894c3433107db2b0d3aaa8 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 1 May 2012 20:30:12 +0100 Subject: [PATCH] tests: Fix out-of-tree builds Make sure we include any generated headers from src/ as well, like wayland-version.h. Signed-off-by: Daniel Stone --- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 74495455..767919e9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -27,7 +27,7 @@ os_wrappers_test_SOURCES = \ ../src/wayland-os.c \ $(test_runner_src) -AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS) +AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS) -I../src LDADD = $(top_builddir)/src/libwayland-util.la \ $(top_builddir)/src/libwayland-server.la \ -lrt -ldl $(FFI_LIBS)