HTTP3.md: update quiche build

Fixes #22105
Reported-by: av223119 on github
Closes #22109
This commit is contained in:
Stefan Eissing 2026-06-19 15:44:33 +02:00 committed by Daniel Stenberg
parent d638eac189
commit c5d0e93879
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -215,14 +215,16 @@ but in case of problems, we recommend their latest release tag.
## Build
Build quiche and BoringSSL:
Build quiche and BoringSSL (described here for quiche v0.29.1, the locations
where BoringSSL is to be found vary with version):
% git clone --depth 1 --branch 0.24.7 --recursive https://github.com/cloudflare/quiche
% git clone --depth 1 --branch 0.29.1 --recursive https://github.com/cloudflare/quiche
% cd quiche
% cargo build --package quiche --release --features ffi,pkg-config-meta,qlog
% ln -s libquiche.so target/release/libquiche.so.0
% mkdir quiche/deps/boringssl/src/lib
% ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) quiche/deps/boringssl/src/lib/
% mkdir -p boringssl/lib
% find target/release \( -name libcrypto.a -o -name libssl.a \) -exec ln -vnf -- '{}' boringssl/lib \;
% find target/release/build/boring-sys-*/out/boringssl/src -maxdepth 1 \( -name include \) -exec ln -vsf -- '../{}' boringssl \;
Build curl:
@ -230,8 +232,8 @@ Build curl:
% git clone --depth 1 https://github.com/curl/curl
% cd curl
% autoreconf -fi
% ./configure LDFLAGS="-Wl,-rpath,$PWD/../quiche/target/release" \
--with-openssl=$PWD/../quiche/quiche/deps/boringssl/src --with-quiche=$PWD/../quiche/target/release
% ./configure --with-openssl=$PWD/../quiche/boringssl \
--with-quiche=$PWD/../quiche/target/release
% make
% make install