aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2016-03-09 21:23:19 -0800
committerSteven Fackler <[email protected]>2016-03-09 21:23:19 -0800
commit88ded2cec5820ed21b2a1a1414908801d879f09f (patch)
treed7ae0171c4be64b014a6a542a4e42a4b00f46fc8
parentMerge pull request #358 from ajroetker/maint/update_openssl_download_name_in_... (diff)
parentUpdate README.md. (diff)
downloadrust-openssl-88ded2cec5820ed21b2a1a1414908801d879f09f.tar.xz
rust-openssl-88ded2cec5820ed21b2a1a1414908801d879f09f.zip
Merge pull request #285 from winding-lines/patch-1
Update README with OSX 10.11 instructions
-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/).