[oe] [PATCH][meta-oe] gd: cleanup buildpaths from gdlib.pc
wenzong.fan at windriver.com
wenzong.fan at windriver.com
Thu Sep 24 11:06:25 UTC 2015
From: Wenzong Fan <wenzong.fan at windriver.com>
* gdlib.pc:
-L/path/to/tmp/sysroots/qemux86-64/usr/lib64 -> -L/usr/lib64
Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
---
meta-oe/recipes-support/gd/gd_2.1.1.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta-oe/recipes-support/gd/gd_2.1.1.bb b/meta-oe/recipes-support/gd/gd_2.1.1.bb
index 62008df..85c7e6a 100644
--- a/meta-oe/recipes-support/gd/gd_2.1.1.bb
+++ b/meta-oe/recipes-support/gd/gd_2.1.1.bb
@@ -32,6 +32,11 @@ EXTRA_OECONF += " --disable-rpath \
EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS}"'
+do_install_append() {
+ # cleanup buildpaths from gdlib.pc
+ sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${libdir}/pkgconfig/gdlib.pc
+}
+
PACKAGES += "${PN}-tools"
FILES_${PN} = "${libdir}/lib*${SOLIBS}"
--
1.9.1
More information about the Openembedded-devel
mailing list