diff --git a/.travis.yml b/.travis.yml index 7c6ff1a..8e1aecf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/build_deps.sh b/build_deps.sh index 97707a9..d479141 100755 --- a/build_deps.sh +++ b/build_deps.sh @@ -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 ;;