Mac friendly build instruction
@@ -58,13 +58,16 @@ Build from git
$ git clone --depth 1 https://github.com/openssl/openssl
$ cd openssl
$ # For Linux
- $ ./Configure enable-tls1_3 --prefix=$PWD/build linux-x86_64
+ $ ./config enable-tls1_3 --prefix=$PWD/build
$ make -j$(nproc)
$ make install_sw
$ cd ..
$ git clone https://github.com/ngtcp2/ngtcp2
$ cd ngtcp2
$ autoreconf -i
+ $ # For Mac users who have installed libev with MacPorts, append
+ $ # ',-L/opt/local/lib' to LDFLAGS, and also pass
+ $ # CPPFLAGS="-I/opt/local/include" to ./configure.
$ ./configure PKG_CONFIG_PATH=$PWD/../openssl/build/lib/pkgconfig LDFLAGS="-Wl,-rpath,$PWD/../openssl/build/lib"
$ make -j$(nproc) check
