aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius <[email protected]>2015-10-11 16:31:09 -0700
committerMarius Seritan <[email protected]>2015-12-24 10:12:13 -0800
commitbd738fa5d806012252452579432ee3c98c45f95b (patch)
tree5ee0db5980a55b22c3975e0bb7337dbb0ffc0357
parentUpdate README with OSX 10.11 instructions (diff)
downloadrust-openssl-bd738fa5d806012252452579432ee3c98c45f95b.tar.xz
rust-openssl-bd738fa5d806012252452579432ee3c98c45f95b.zip
Update README.md
-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