diff --git a/README.md b/README.md index 4b51391768313eb1e0f379498203206d6b90960b..87ca998be71749d7bdbd44d5adf28cc7314eea09 100644 --- a/README.md +++ b/README.md @@ -29,10 +29,12 @@ rust-openssl to a separate installation. OSX releases starting at 10.11, "El Capitan", no longer include OpenSSL headers which will prevent the `openssl` crate from compiling. -For OSX 10.11 you can use brew to install OpenSSL. +For OSX 10.11 you can use brew to install OpenSSL and then set the environment variables +as described below. ```bash brew install openssl -brew link openssl --force +export OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include +export OPENSSL_LIB_DIR=/usr/local/opt/openssl/lib ``` ### Windows