1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 22:15:13 -05:00

HTTP3.md: move -p for mkdir, remove -j for make

- mkdir on OSX/Darwin requires `-p` argument before dir

- portabbly figuring out number of cores is an exercise for somewhere
  else

Closes #4407
This commit is contained in:
Alex Samorukov 2019-09-23 20:56:48 +02:00 committed by Daniel Stenberg
parent 3e0a8e539c
commit 9e78e739a5
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -91,9 +91,9 @@ Build BoringSSL (it needs to be built manually so it can be reused with curl):
% mkdir build % mkdir build
% cd build % cd build
% cmake -DCMAKE_POSITION_INDEPENDENT_CODE=on .. % cmake -DCMAKE_POSITION_INDEPENDENT_CODE=on ..
% make -j`nproc` % make
% cd .. % cd ..
% mkdir .openssl/lib -p % mkdir -p .openssl/lib
% cp build/crypto/libcrypto.a build/ssl/libssl.a .openssl/lib % cp build/crypto/libcrypto.a build/ssl/libssl.a .openssl/lib
% ln -s $PWD/include .openssl % ln -s $PWD/include .openssl
@ -109,7 +109,7 @@ Clone and build curl:
% cd curl % cd curl
% ./buildconf % ./buildconf
% ./configure LDFLAGS="-Wl,-rpath,$PWD/../quiche/target/release" --with-ssl=$PWD/../quiche/deps/boringssl/.openssl --with-quiche=$PWD/../quiche/target/release % ./configure LDFLAGS="-Wl,-rpath,$PWD/../quiche/target/release" --with-ssl=$PWD/../quiche/deps/boringssl/.openssl --with-quiche=$PWD/../quiche/target/release
% make -j`nproc` % make
## Running ## Running