libcurl: add nghttp2 optional dependency
authorMichaël Burtin <michael.burtin@netgem.com>
Thu, 19 Jul 2018 13:54:09 +0000 (15:54 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 19 Jul 2018 14:59:55 +0000 (16:59 +0200)
commit9b733d45f4b1b3b8244cfc7513b3d680da3d163d
treeeae23c00265073733fd48aa5be2bdfc6b957fcbf
parentcfe63dcd632fed002543f51cb0ff44b6a1eaa63b
libcurl: add nghttp2 optional dependency

The nghttp2 package has recently been added to buildroot. When
enabled, this adds support for HTTP2 to libcurl.

By default, libcurl configure script will enable HTTP2 if the library
is found using pkg-config. Adding this option makes the build
consistent.

Signed-off-by: Michaël Burtin <michael.burtin@netgem.com>
Signed-off-by: Anisse Astier <anisse.astier.ext@netgem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libcurl/libcurl.mk