diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2019-08-18 15:03:51 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-20 15:04:58 +0200 |
commit | 08b99e17df5a2d1d98a2d9ab06eedf7405906105 (patch) | |
tree | c0e2bdfeb38c93906931721eec3925ab6a9264a9 /docs | |
parent | 6a90c9e0c49dc8179f6ff60bdfe1bd59aa55ef7b (diff) |
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/HTTP3.md | 6 |
1 files changed, 3 insertions, 3 deletions
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 |