[OE-core] [PATCH] glib-2.0: cleanup buildpaths from pkgconfig files
wenzong.fan at windriver.com
wenzong.fan at windriver.com
Thu Sep 24 11:04:51 UTC 2015
From: Wenzong Fan <wenzong.fan at windriver.com>
* gio-2.0.pc:
-L/path/to/tmp/sysroots/qemux86-64/lib64 -> -L/lib64
* gobject-2.0.pc:
-L/path/to/tmp/sysroots/qemux86-64/usr/lib64/../lib64
-> -L/usr/lib64/../lib64
Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
---
meta/recipes-core/glib-2.0/glib.inc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 072f790..4ccdb93 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -75,6 +75,12 @@ do_install_append () {
fi
}
+do_install_append_class-target() {
+ # cleanup buildpaths from gio-2.0.pc, gobject-2.0.pc
+ sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${libdir}/pkgconfig/gio-2.0.pc
+ sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${libdir}/pkgconfig/gobject-2.0.pc
+}
+
RDEPENDS_${PN}-ptest += "\
gnome-desktop-testing \
tzdata \
--
1.9.1
More information about the Openembedded-core
mailing list