curl: option to enable http2 protocol support.
PATCH 1/1 curl: option to enable http2 protocol support.
From: baali <[email protected]>
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 <[email protected]>
--- meta/recipes-support/curl/curl_7.54.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/curl/curl_7.54.1.bb +1 -1
@@ -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" EXTRA_OECONF = " \ --enable-crypto-auth \ --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \ --without-libmetalink \ --without-libpsl \ - --without-nghttp2 \ " do_install_append() {
Signature · 1 line
2.7.4
Quoted 5 lines · baali
From: baali <[email protected]>
With default --without-nghttp2 flag set there was no way to get http2 protocol support using nghttp2 library. Instead moved it to PACKAGECONFIG options
Wrong list: oe-core patches go to openembedded-core@ instead of -devel@.
Quoted 1 line
+PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2"
The configure.ac then checks for the libnghttp2 library which isn't listed as a build dependency, so you'll need to add this here.
Ross