[oe-commits] Wenzong Fan : curl: cleanup buildpaths from curl-config

git at git.openembedded.org git at git.openembedded.org
Sat Sep 26 17:14:31 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 3c1ff69f5ee998c562d9ce000d7f921548c0508f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3c1ff69f5ee998c562d9ce000d7f921548c0508f

Author: Wenzong Fan <wenzong.fan at windriver.com>
Date:   Thu Sep 24 07:04:29 2015 -0400

curl: cleanup buildpaths from curl-config

* curl-config:
  -L/path/to/tmp/sysroots/qemux86-64/usr/lib64 -> -L/usr/lib64
  --sysroot=/path/to/tmp/sysroots/qemux86-64'  -> --sysroot=

Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-support/curl/curl_7.44.0.bb | 3 +++
 1 file changed, 3 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..b0cf700 100644
--- a/meta/recipes-support/curl/curl_7.44.0.bb
+++ b/meta/recipes-support/curl/curl_7.44.0.bb
@@ -43,6 +43,9 @@ EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_siz
 
 do_install_append() {
 	oe_multilib_header curl/curlbuild.h
+
+	# cleanup buildpaths from curl-config
+	sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${bindir}/curl-config
 }
 
 PACKAGES =+ "lib${BPN}"



More information about the Openembedded-commits mailing list