Selaa lähdekoodia

Set openssl PKG_CONFIG_PATH for python 3.7 (#1117)

pull/1121/head
Jens Hedegaard Nielsen 8 vuotta sitten
committed by Josh Friend
vanhempi
commit
59846ca9b1
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. +1
    -0
      plugins/python-build/bin/python-build

+ 1
- 0
plugins/python-build/bin/python-build Näytä tiedosto

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

Ladataan…
Peruuta
Tallenna