Skip to content

Commit

Permalink
Add more flags to build statically.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosperate committed Nov 27, 2019
1 parent 81f43ab commit 601cc79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ matrix:
before_install:
# OS and default Python info
- uname -a
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then sw_vers; fi
- sw_vers

install:
- HOMEBREW_NO_AUTO_UPDATE=1 brew install openssl
Expand Down
2 changes: 1 addition & 1 deletion build_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" --prefix="$CURRENT_DIR/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"
large_echo "Build Python"
make altinstall

0 comments on commit 601cc79

Please sign in to comment.