On 09/27/2015 05:45 AM, Richard Purdie wrote:
On Thu, 2015-09-24 at 07:04 -0400, wenzong....@windriver.com wrote:
From: Wenzong Fan <wenzong....@windriver.com>

* 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....@windriver.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
  }

https://autobuilder.yoctoproject.org/main/builders/nightly-deb-non-deb/builds/162

Seems curl-native doesn't build since STAGING_DIR_HOST == "".

Oh, sorry. It should be limited to do_install_append_class-target().

Please ignore this patch, I'll send out V2 for the fix.

Thanks
Wenzong


Cheers,

Richard







--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to