aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authortim smith <github@tim-smith.us>2015-08-03 07:59:21 -0700
committertim smith <github@tim-smith.us>2015-08-03 07:59:21 -0700
commit91596e24e042a83750a327e1dd6a84d243fe2a47 (patch)
tree9ca9a3fd8df4091b7d78fb35f73b5202fd80c207 /docs
parent93b5e3efab0337c51c84c27208d9034b607f09e2 (diff)
downloadcryptography-91596e24e042a83750a327e1dd6a84d243fe2a47.tar.gz
cryptography-91596e24e042a83750a327e1dd6a84d243fe2a47.tar.bz2
cryptography-91596e24e042a83750a327e1dd6a84d243fe2a47.zip
Make Homebrew install instructions more generic
Homebrew supports installing to locations other than /usr/local.
Diffstat (limited to 'docs')
-rw-r--r--docs/installation.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/installation.rst b/docs/installation.rst
index becab6b0..f7a88b98 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -142,7 +142,7 @@ To link cryptography against a custom version of OpenSSL you'll need to set
.. code-block:: console
$ brew install openssl
- $ env ARCHFLAGS="-arch x86_64" LDFLAGS="-L/usr/local/opt/openssl/lib" CFLAGS="-I/usr/local/opt/openssl/include" pip install cryptography
+ $ env ARCHFLAGS="-arch x86_64" LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography
or `MacPorts`_: