1
0
Fork 0
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 ()

This commit is contained in:
Jens Hedegaard Nielsen 2018-03-13 15:00:23 +01:00 committed by Josh Friend
parent adbb59ed2c
commit 59846ca9b1

View file

@ -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