From 08b99e17df5a2d1d98a2d9ab06eedf7405906105 Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Sun, 18 Aug 2019 15:03:51 +0100 Subject: configure: use pkg-config to detect quiche This removes the need to hard-code the quiche target path in configure.ac. This depends on https://github.com/cloudflare/quiche/pull/128 Closes #4237 --- docs/HTTP3.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/HTTP3.md') diff --git a/docs/HTTP3.md b/docs/HTTP3.md index e6a8874c8..a646da5af 100644 --- a/docs/HTTP3.md +++ b/docs/HTTP3.md @@ -84,10 +84,10 @@ you'll just get ld.so linker errors. Clone quiche and BoringSSL: % git clone --recursive https://github.com/cloudflare/quiche - % cd quiche/deps/boringssl Build BoringSSL (it needs to be built manually so it can be reused with curl): + % cd quiche/deps/boringssl % mkdir build % cd build % cmake -DCMAKE_POSITION_INDEPENDENT_CODE=on .. @@ -100,7 +100,7 @@ Build BoringSSL (it needs to be built manually so it can be reused with curl): Build quiche: % cd ../.. - % QUICHE_BSSL_PATH=$PWD/deps/boringssl cargo build --release + % QUICHE_BSSL_PATH=$PWD/deps/boringssl cargo build --release --features pkg-config-meta Clone and build curl: @@ -108,7 +108,7 @@ Clone and build curl: % git clone https://github.com/curl/curl % cd curl % ./buildconf - % ./configure --with-ssl=$PWD/../quiche/deps/boringssl/.openssl --with-quiche=$PWD/../quiche --enable-debug + % ./configure LDFLAGS="-Wl,-rpath,$PWD/../quiche/target/release" --with-ssl=$PWD/../quiche/deps/boringssl/.openssl --with-quiche=$PWD/../quiche/target/release % make -j`nproc` ## Running -- cgit v1.2.3