Skip to content

Commit

Permalink
set OPENSSL_ROOT_DIR for OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Oct 15, 2016
1 parent 27e9181 commit d6cc6f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ install:
# `std for cross-compilation
- curl https://static.rust-lang.org/rustup.sh |
sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot`
# needed to be able to compile the libssh2-sys crate
- test $TRAVIS_OS_NAME = osx && export OPENSSL_ROOT_DIR=`brew --prefix openssl`

script:
- cargo generate-lockfile
Expand Down

0 comments on commit d6cc6f3

Please sign in to comment.