mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 14:54:20 +08:00
Add nghttp2 to curl
This commit is contained in:
parent
9256f76ce6
commit
689691a2e9
@ -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)"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user