[OE-core] [PATCH 2/3 v2] curl: cleanup buildpaths from curl-config
wenzong.fan at windriver.com
wenzong.fan at windriver.com
Wed Sep 30 08:08:59 UTC 2015
From: Wenzong Fan <wenzong.fan at windriver.com>
curl-config will be installed to target, cleanup buildpaths in it:
* remove ${STAGING_DIR_HOST} from CC, CFLAGS ...
Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
---
meta/recipes-support/curl/curl_7.44.0.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-support/curl/curl_7.44.0.bb b/meta/recipes-support/curl/curl_7.44.0.bb
index b293303..f6d350e 100644
--- a/meta/recipes-support/curl/curl_7.44.0.bb
+++ b/meta/recipes-support/curl/curl_7.44.0.bb
@@ -45,6 +45,11 @@ do_install_append() {
oe_multilib_header curl/curlbuild.h
}
+do_install_append_class-target() {
+ # cleanup buildpaths from curl-config
+ sed -i -e 's,${STAGING_DIR_HOST},,g' ${D}${bindir}/curl-config
+}
+
PACKAGES =+ "lib${BPN}"
FILES_lib${BPN} = "${libdir}/lib*.so.*"
--
1.9.1
More information about the Openembedded-core
mailing list