summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/libyami/libyami/0001-Makefile.am-point-to-build-dir-for-generated-headers.patch
blob: 673969cfeff6696ff28cf2e4c997b4f8a09b35a6 (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
25
26
27
28
29
From 00fc21a41bf7e11d468227487c4e9de9e6d608e6 Mon Sep 17 00:00:00 2001
From: Anuj Mittal <anuj.mittal@intel.com>
Date: Mon, 5 Feb 2018 11:16:18 +0800
Subject: [PATCH] Makefile.am: point to build dir for generated headers

Otherwise it will give out errors for missing YamiVersion.h.

Upstream-Status: Submitted [https://github.com/intel/libyami/pull/827]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 common/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/Makefile.am b/common/Makefile.am
index 5ee61da..1a788e5 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -40,6 +40,7 @@ extra_includes = \
 libyami_common_cppflags = \
 	$(LIBVA_CFLAGS) \
 	-I$(top_srcdir)/interface \
+	-I$(top_builddir)/interface \
 	$(extra_includes) \
 	$(NULL)
 
-- 
2.7.4