From 05381266aed45899775f4cb8602659717bbf1371 Mon Sep 17 00:00:00 2001 From: Christopher Baek Date: Wed, 7 Aug 2019 15:19:37 -0700 Subject: [PATCH] Adding extra environment variables for macOS 10.14.6 with XCode 10.3 --- Common-build-problems.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Common-build-problems.md b/Common-build-problems.md index 528dcdb..07165a9 100644 --- a/Common-build-problems.md +++ b/Common-build-problems.md @@ -169,6 +169,13 @@ If you experience issues with readline, you can also specify this as a compiler CFLAGS="-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: + +```sh +SDKROOT=${XCODE_ROOT}/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk \ +MACOSX_DEPLOYMENT_TARGET=10.14 +``` + ## ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib? * If you have homebrew openssl and pyenv installed, you may need to tell the compiler where the openssl package is located: