summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2015-09-30 07:02:56 (GMT)
committerKai Kang <kai.kang@windriver.com>2015-09-30 07:15:25 (GMT)
commit33c8de1f09eda9ac9c46466f1f44ae7fa650fa0b (patch)
tree632a0e378dd5eb3e909cf4ab8ddbd055e4aa404c
parente825102bd4c1e677ae16158535941773881fef13 (diff)
downloadpoky-contrib-kangkai/fixes.zip
poky-contrib-kangkai/fixes.tar.gz
poky-contrib-kangkai/fixes.tar.bz2
fontconfig: fix buildpaths QA checkkangkai/fixes
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@windriver.com>
-rw-r--r--meta/recipes-graphics/fontconfig/fontconfig_2.11.94.bb4
1 files changed, 4 insertions, 0 deletions
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
+}