diff --git a/build_python.sh b/build_python.sh index 5166267..bf6d078 100755 --- a/build_python.sh +++ b/build_python.sh @@ -22,6 +22,6 @@ tar -zxvf "Python-$PY_VER.tgz" &> /dev/null cd "Python-$PY_VER" large_echo "Configure Python" -./configure MACOSX_DEPLOYMENT_TARGET=10.11 CPPFLAGS="-I$OPENSSL_ROOT/include" LDFLAGS="-L$OPENSSL_ROOT/lib" --with-openssl="$OPENSSL_ROOT" --prefix="$CURRENT_DIR/python" +./configure MACOSX_DEPLOYMENT_TARGET=10.11 CPPFLAGS="-I$OPENSSL_ROOT/include -I$OPENSSL_ROOT/include/openssl" LDFLAGS="-L$OPENSSL_ROOT/lib -l:libssl.a" --with-openssl="$OPENSSL_ROOT" --prefix="$CURRENT_DIR/python" large_echo "Build Python" make altinstall