Add nghttp2 to curl

This commit is contained in:
Jeremy Soller 2019-04-09 20:11:57 -06:00
parent 9256f76ce6
commit 689691a2e9
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -17,6 +17,8 @@ function recipe_update {
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib"
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
autoreconf -i
./configure \
@ -29,6 +31,7 @@ function recipe_build {
--disable-tftp \
--disable-threaded-resolver \
--with-ca-path=/ssl/certs \
--with-nghttp2="$sysroot" \
--with-ssl="$sysroot" \
--with-zlib="$sysroot"
make -j"$(nproc)"