[oe-commits] João Henrique Ferreira de Freitas : curl: add ssl to PACKAGECONFIG

git at git.openembedded.org git at git.openembedded.org
Mon Aug 11 11:07:26 UTC 2014


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

Author: João Henrique Ferreira de Freitas <joaohf at gmail.com>
Date:   Sun Aug 10 23:09:56 2014 -0300

curl: add ssl to PACKAGECONFIG

This will allow curl run as nativesdk and fixes the following:

fatal: unable to access 'https://...': Protocol https not supported or disabled in libcurl

Signed-off-by: João Henrique Ferreira de Freitas <joaohf at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-support/curl/curl_7.37.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/curl/curl_7.37.1.bb b/meta/recipes-support/curl/curl_7.37.1.bb
index 14bdff7..dc1d6a6 100644
--- a/meta/recipes-support/curl/curl_7.37.1.bb
+++ b/meta/recipes-support/curl/curl_7.37.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e66
 
 DEPENDS = "zlib gnutls"
 DEPENDS_class-native = "zlib-native openssl-native"
-DEPENDS_class-nativesdk = "nativesdk-zlib"
+DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-openssl"
 
 SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
            file://pkgconfig_fix.patch \
@@ -25,7 +25,7 @@ inherit autotools pkgconfig binconfig multilib_header
 
 PACKAGECONFIG ??= "gnutls ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}"
 PACKAGECONFIG_class-native = "ipv6 ssl"
-PACKAGECONFIG_class-nativesdk = "ipv6"
+PACKAGECONFIG_class-nativesdk = "ipv6 ssl"
 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
 PACKAGECONFIG[ssl] =  "--with-ssl, --without-ssl, ,"
 PACKAGECONFIG[gnutls] =  "--with-gnutls=${STAGING_LIBDIR}/../, --without-gnutls, gnutls,"



More information about the Openembedded-commits mailing list