From 689691a2e97696d5184eec6223756bd5e75b5300 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Tue, 9 Apr 2019 20:11:57 -0600 Subject: [PATCH] Add nghttp2 to curl --- recipes/curl/recipe.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/curl/recipe.sh b/recipes/curl/recipe.sh index a33f5aa98..0bf0d3882 100644 --- a/recipes/curl/recipe.sh +++ b/recipes/curl/recipe.sh @@ -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)"