From 4b6360daa8a0dc623f5f28f5441df4fb13ed2b2f Mon Sep 17 00:00:00 2001 From: "Francis T. O'Donovan" Date: Wed, 5 Dec 2018 21:49:07 -0500 Subject: [PATCH] Don't assume default install location --- Common-build-problems.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Common-build-problems.md b/Common-build-problems.md index 9dc173d..ccfd8d5 100644 --- a/Common-build-problems.md +++ b/Common-build-problems.md @@ -122,7 +122,7 @@ CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 2.7.7 * If you installed zlib with Homebrew, you can set the CPPFLAGS environment variable: ```sh -CPPFLAGS="-I/usr/local/opt/zlib/include" pyenv install -v 3.7.0 +CPPFLAGS="-I$(brew --prefix zlib)/include" pyenv install -v 3.7.0 ``` * Alternatively, try reinstalling XCode command line tools for your OS and when running Mojave or higher (10.14+) you will also [need to install the additional SDK headers](https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes#3035624) @@ -192,4 +192,4 @@ If you have python-build installed as an pyenv plugin: ```sh $ cd ~/.pyenv/plugins/python-build && git pull -``` +``` \ No newline at end of file