[OE-core] [PATCH] curl: add PACKAGECONFIG option to use libssh2

Fabrice Coulon fabrice.coulon at axis.com
Fri Oct 3 08:21:49 UTC 2014


From: Fabrice Coulon <fabrice at axis.com>

The user can enable libssh2 via conf/local.conf or custom distro
configuration, this will pull in libssh2, which is not used by default.

For example, a curl_x.y.z.bbappend file containing the following line:
PACKAGECONFIG += "libssh2"

Signed-off-by: Fabrice Coulon <fabrice.coulon at axis.com>
Signed-off-by: Olof Johansson <olof.johansson at axis.com>
---
 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 e2852e3..39ded80 100644
--- a/meta/recipes-support/curl/curl_7.37.1.bb
+++ b/meta/recipes-support/curl/curl_7.37.1.bb
@@ -28,9 +28,9 @@ PACKAGECONFIG[ssl] = "--with-ssl --with-random=/dev/urandom,--without-ssl,openss
 PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"
 PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib"
 PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump"
+PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2"
 
-EXTRA_OECONF = "--without-libssh2 \
-                --without-libidn \
+EXTRA_OECONF = "--without-libidn \
                 --enable-crypto-auth \
                 --disable-ldap \
                 --disable-ldaps \
-- 
1.9.1




More information about the Openembedded-core mailing list