aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/backends/openssl.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-24 10:20:36 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-24 10:21:58 -0600
commit017f0b05ebe6026b0ad0d6205fca6ec1e60540b4 (patch)
tree98d0d6c99685a4c1d2033edf61a597007efd64d8 /docs/hazmat/backends/openssl.rst
parent8caeb8ddde096686225f476146134e2ec65190b6 (diff)
downloadcryptography-017f0b05ebe6026b0ad0d6205fca6ec1e60540b4.tar.gz
cryptography-017f0b05ebe6026b0ad0d6205fca6ec1e60540b4.tar.bz2
cryptography-017f0b05ebe6026b0ad0d6205fca6ec1e60540b4.zip
add instructions on how to install openssl via homebrew
Diffstat (limited to 'docs/hazmat/backends/openssl.rst')
-rw-r--r--docs/hazmat/backends/openssl.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/hazmat/backends/openssl.rst b/docs/hazmat/backends/openssl.rst
index a2417cf2..d305520a 100644
--- a/docs/hazmat/backends/openssl.rst
+++ b/docs/hazmat/backends/openssl.rst
@@ -44,9 +44,12 @@ Using your own OpenSSL on OS X
------------------------------
To link cryptography against a custom version of OpenSSL you'll need to set
-``ARCHFLAGS``, ``LDFLAGS``, and ``CFLAGS``.
+``ARCHFLAGS``, ``LDFLAGS``, and ``CFLAGS``. OpenSSL can be installed via
+`Homebrew`_::
-An example using a `Homebrew`_ OpenSSL installation::
+ brew install openssl
+
+Then install cryptography linking against the brewed version::
env ARCHFLAGS="-arch x86_64" LDFLAGS="-L/usr/local/opt/openssl/lib" CFLAGS="-I/usr/local/opt/openssl/include" pip install cryptography