From 1a1cd223d307b71a85a33282150f8720070c775a Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Sat, 15 Jan 2022 11:54:18 -0500 Subject: [PATCH] Update linux-before-install.sh --- .github/actions/linux-before-install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/actions/linux-before-install.sh b/.github/actions/linux-before-install.sh index 0c08b7e2..2c9fd377 100755 --- a/.github/actions/linux-before-install.sh +++ b/.github/actions/linux-before-install.sh @@ -67,9 +67,8 @@ if [ $SSLRESULT -ne 0 ] || [[ "$SSLVER" != "OpenSSL $BUILD_OPENSSL_VERSION "* ]] tar xf "Python-${BUILD_PYTHON_VERSION}.tar.xz" cd Python-$BUILD_PYTHON_VERSION echo "Compiling Python $BUILD_PYTHON_VERSION..." - safe_flags="--with-openssl=$HOME/ssl --enable-shared --prefix=$HOME/python --with-ensurepip=upgrade" - unsafe_flags="--enable-optimizations --with-lto --with-openssl=~/ssl --with-openssl-rpath=~~/ssl/lib" - ./configure $safe_flags $unsafe_flags > /dev/null + flags="--with-openssl=${HOME}/ssl --with-openssl=${HOME}/ssl --with-openssl-rpath=${HOME}/ssl/lib --enable-shared --prefix=${HOME}/python --with-ensurepip=upgrade --enable-optimizations --with-lto" + ./configure $flags > /dev/null make -j$cpucount -s echo "Installing Python..." make install > /dev/null