aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6836ba80..5741e2c1 100644
--- a/README.md
+++ b/README.md
@@ -31,6 +31,14 @@ 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 and then set the environment variables
+as described below.
+```bash
+brew install openssl
+export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
+export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib
+```
+
### Windows
On Windows, consider building with [mingw-w64](http://mingw-w64.org/).