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

Kai Kang kai.kang at windriver.com
Thu Jul 16 02:37:39 UTC 2015


Variable Libs.private contains build path in file fontconfig.pc. It
fails buildpaths check and that is not the right value when use
pkg-config with option '--static'.

Remove build path from fontconfig.pc to fix it.

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

diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb
index e024adb..081ce1f 100644
--- a/meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb
+++ b/meta/recipes-graphics/fontconfig/fontconfig_2.11.93.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
+}
-- 
1.9.1




More information about the Openembedded-core mailing list