summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2022-12-04 18:31:24 +0100
committerArmin Rigo <arigo@tunes.org>2022-12-04 18:31:24 +0100
commita8439665e6bc075f85f58d4edb40ca34f4eaa8e6 (patch)
tree85083ecd646f12645081f2864424871c98ffe893
parent97d2ed49cebd47618fa1cee435085a2bdd64fcd3 (diff)
downloadcffi-a8439665e6bc075f85f58d4edb40ca34f4eaa8e6.tar.gz
issue 555
Incorrect brew installation setup
-rw-r--r--doc/source/installation.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/source/installation.rst b/doc/source/installation.rst
index 944de25..42d44d9 100644
--- a/doc/source/installation.rst
+++ b/doc/source/installation.rst
@@ -101,7 +101,7 @@ Modern Linuxes work out of the box thanks to ``pkg-config``. Here are some
MacOS X
+++++++
-**Homebrew** (Thanks David Griffin for this)
+**Homebrew** (Thanks David Griffin and Mark Keller for this)
1) Install homebrew: http://brew.sh
@@ -110,7 +110,9 @@ MacOS X
::
brew install pkg-config libffi
- PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig pip install cffi
+ PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig pip install --no-binary cffi cffi
+
+(the ``--no-binary cffi`` might be needed or not.)
Alternatively, **on OS/X 10.6** (Thanks Juraj Sukop for this)