mirror of
https://github.com/pyenv/pyenv.git
synced 2025-04-13 20:16:35 +00:00
Set openssl PKG_CONFIG_PATH for python 3.7 (#1117)
This commit is contained in:
parent
adbb59ed2c
commit
59846ca9b1
1 changed files with 1 additions and 0 deletions
|
@ -1487,6 +1487,7 @@ use_homebrew_openssl() {
|
|||
local ssldir="$(brew --prefix openssl 2>/dev/null || true)"
|
||||
if [ -d "$ssldir" ]; then
|
||||
echo "python-build: use openssl from homebrew"
|
||||
export PKG_CONFIG_PATH="$ssldir/lib/pkgconfig/:${PKG_CONFIG_PATH}"
|
||||
export CPPFLAGS="-I$ssldir/include ${CPPFLAGS}"
|
||||
export LDFLAGS="-L$ssldir/lib ${LDFLAGS}"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue