From 6d698f6dba4a024b5f3ccac2876465c60f780478 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 15 Nov 2013 23:41:29 +0000 Subject: test: fix out-of-tree builds Some tests do #include relative to the top-level, so add top_srcdir to the include path as otherwise out-of-tree builds can't find the files. Signed-off-by: Ross Burton Signed-off-by: Henrik Rydberg --- test/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Makefile.am') diff --git a/test/Makefile.am b/test/Makefile.am index 2b504bd..6688b41 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,7 +1,7 @@ noinst_PROGRAMS = mtdev-mapgen mtdev-matching mtdev-kernel bin_PROGRAMS = mtdev-test -AM_CPPFLAGS=-I$(top_srcdir)/include/ +AM_CPPFLAGS=-I$(top_srcdir) -I$(top_srcdir)/include/ mtdev_mapgen_SOURCES = mtdev-mapgen.c -- cgit v1.2.3