summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/mtdev/fixsepbuild.patch
blob: 9895650274e637000ef36b62375b6e297597f335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.

Upstream-Status: Submitted
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 test/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 
-- 
1.7.10.4