aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4b513917..87ca998b 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