[PATCH wayland 1/6] tests: Fix out-of-tree builds

Daniel Stone daniel at fooishbar.org
Wed May 2 08:53:30 PDT 2012


Make sure we include any generated headers from src/ as well, like
wayland-version.h.

Signed-off-by: Daniel Stone <daniel at fooishbar.org>
---
 tests/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

v2: No changes.

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7449545..767919e 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)
-- 
1.7.10



More information about the wayland-devel mailing list