[OE-core] [PATCH 2/2] fontconfig: fix buildpaths QA check

kai.kang at windriver.com kai.kang at windriver.com
Wed Sep 30 07:47:18 UTC 2015


From: Kai Kang <kai.kang at windriver.com>

Variable Libs.private contains build path in file fontconfig.pc. It is
not right and fails buildpaths check.

Remove build path from fontconfig.pc to fix this issue.

Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
 meta/recipes-graphics/fontconfig/fontconfig_2.11.94.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.11.94.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.11.94.bb
index 9bbff20..384a95d 100644
--- a/meta/recipes-graphics/fontconfig/fontconfig_2.11.94.bb
+++ b/meta/recipes-graphics/fontconfig/fontconfig_2.11.94.bb
@@ -43,3 +43,7 @@ FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig"
 EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts --with-cache-dir=${FONTCONFIG_CACHE_DIR}"
 
 BBCLASSEXTEND = "native"
+
+do_install_append() {
+    sed -i 's,${STAGING_DIR_HOST},,g' ${D}${libdir}/pkgconfig/fontconfig.pc
+}
-- 
2.6.0.rc2.10.gf4d9753




More information about the Openembedded-core mailing list