From: baali Date: Mon, 25 Sep 2017 19:20:34 +0000 (+0530) Subject: curl: Added option to enable http2 protocol. X-Git-Tag: 2017-10~70 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bcc8560300c8b1218b1f3709f5a7732e17fbfa46;p=openembedded-core.git curl: Added option to enable http2 protocol. With default --without-nghttp2 flag set there was no way to get http2 protocol support using nghttp2 library. Instead moved it to PACKAGECONFIG options Signed-off-by: baali Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/curl/curl_7.54.1.bb b/meta/recipes-support/curl/curl_7.54.1.bb index 54f3b667c8..04aeee72d1 100644 --- a/meta/recipes-support/curl/curl_7.54.1.bb +++ b/meta/recipes-support/curl/curl_7.54.1.bb @@ -48,13 +48,13 @@ PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp," PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver" PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib" PACKAGECONFIG[krb5] = "--with-gssapi,--without-gssapi,krb5" +PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2" EXTRA_OECONF = " \ --enable-crypto-auth \ --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \ --without-libmetalink \ --without-libpsl \ - --without-nghttp2 \ " do_install_append() {