On Thu, 5 Dec 2019, at 07:32, Uzair Mazhar wrote: > Hi All, > While testing my image on raspberry pi3b, I found that curl doesn’t > have http2 support. > $ curl --http2 -I https://nghttp2.org/ > # Unsupported protocol > > I tried to search for the solution and one of the possible answer > [1][2] were adding --with-nghttp2 flag to curl. For that I modified > curl recipes (curl_7.64.1.bb) and added “EXTRA_OECONF = --with-nghttp2 > “ along with default parameter already set in this block but it again > shows the same error.
Looking at the link you gave [1], you probably need to use "--with-nghttp2=<PATH>" and add nghttp2 to DEPENDS. You may need to find or write a recipe for that library. [1]: https://serversforhackers.com/c/curl-with-http2-support -- Paul Barker
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#47562): https://lists.yoctoproject.org/g/yocto/message/47562 Mute This Topic: https://lists.yoctoproject.org/mt/66929768/21656 Mute #yocto: https://lists.yoctoproject.org/mk?hashtag=yocto&subid=6691583 Mute #raspberrypi: https://lists.yoctoproject.org/mk?hashtag=raspberrypi&subid=6691583 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
