From 73f6b3cb113bd9771e8057e3882f216873111c44 Mon Sep 17 00:00:00 2001 From: jjangga0214 Date: Mon, 28 Nov 2022 16:19:15 +0900 Subject: [PATCH] docs: fix typo on brew --prefix option --- Common-build-problems.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Common-build-problems.md b/Common-build-problems.md index b2b21be..b473543 100644 --- a/Common-build-problems.md +++ b/Common-build-problems.md @@ -131,7 +131,7 @@ CPPFLAGS="-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$(brew -prefix 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 @@ -139,13 +139,13 @@ CPPFLAGS="-I$(brew -prefix zlib)/include" pyenv install -v 3.7.0 If you experience both issues with openssl and zlib, you can specify both search paths as a compiler flag: ```sh -CPPFLAGS="-I$(brew -prefix openssl)/include -I$(xcrun -show-sdk-path)/usr/include" LDFLAGS="-L$(brew -prefix openssl)/lib" +CPPFLAGS="-I$(brew --prefix openssl)/include -I$(xcrun -show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib" ``` If you experience issues with readline, you can also specify this as a compiler flag: ```sh -CPPFLAGS="-I$(brew -prefix openssl)/include -I$(brew -prefix readline)/include -I$(xcrun -show-sdk-path)/usr/include" LDFLAGS="-L$(brew -prefix openssl)/lib -L$(brew -prefix readline)/lib" +CPPFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix readline)/include -I$(xcrun -show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib" ``` If you are using macOS 10.14.6 with XCode 10.3, add the following: