aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Panferov <[email protected]>2015-02-07 15:47:02 +0300
committerStanislav Panferov <[email protected]>2015-02-07 15:47:02 +0300
commit6a040b3b7169eb24a0e92feae130d254f927b932 (patch)
treebfed24b2f8e348c68a5383d24b71c1bd3c66bbe4
parentFix deprecation warnings in openssl-sys (diff)
downloadrust-openssl-6a040b3b7169eb24a0e92feae130d254f927b932.tar.xz
rust-openssl-6a040b3b7169eb24a0e92feae130d254f927b932.zip
Add info about OS X to the README
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 58a2285b..c6ea8e8a 100644
--- a/README.md
+++ b/README.md
@@ -29,6 +29,17 @@ For some reason, the OpenSSL distribution for Windows is structured differently,
4. Rename `libeay32.a` and `ssleay32.a` to `libcrypto.a` and `libssl.a`, respectively.
5. Run `cargo build`.
+###OS X
+
+OS X is shipped with extremely outdated openssl. We recommend to update it. If you're using Homebrew it should be as easy as:
+
+```bash
+brew install openssl
+brew link openssl --force
+```
+
+Note that you need to execute `cargo clean` in your project directory to rebuild `rust-openssl` with the new version of `openssl`.
+
###Testing
Several tests expect a local test server to be running to bounce requests off of. It's easy to do this. Open a separate terminal window and `cd` to the rust-openssl directory. Then run one of the following commands: