Skip to content

Commit

Permalink
On osx use [email protected]. By default brew jumped to openssl3
Browse files Browse the repository at this point in the history
  • Loading branch information
silviucpp committed Nov 23, 2021
1 parent 2eedcc0 commit c7695f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ before_script:
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get install -y libsasl2-dev liblz4-dev libzstd-dev || true ; fi

- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew install erlang openssl lz4 zstd || true; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew install erlang openssl@1.1 lz4 zstd || true; fi

- curl https://s3.amazonaws.com/rebar3/rebar3 --output rebar3 && chmod +x rebar3

Expand Down
4 changes: 2 additions & 2 deletions build_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ BuildLibrary()
$LIBRDKAFKA_DESTINATION)
case $OS in
Darwin)
brew install openssl lz4 zstd
OPENSSL_ROOT_DIR=$(brew --prefix openssl)
brew install openssl@1.1 lz4 zstd
OPENSSL_ROOT_DIR=$(brew --prefix openssl@1.1)
export CPPFLAGS=-I$OPENSSL_ROOT_DIR/include/
export LDFLAGS=-L$OPENSSL_ROOT_DIR/lib
;;
Expand Down

0 comments on commit c7695f5

Please sign in to comment.