From d467f489e4b261650afbb4208747f33d2116fab3 Mon Sep 17 00:00:00 2001 From: filipecosta90 Date: Thu, 21 Nov 2024 22:38:30 +0000 Subject: [PATCH] Fixed brew openssl@3.0 link steps --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5a6363..aab7679 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,6 +111,14 @@ jobs: - name: Install dependencies run: | brew install autoconf automake libtool libevent pkg-config openssl@${{ matrix.openssl }} + if [ "${{ matrix.openssl }}" == "3.0" ]; then + echo 'export PATH="/opt/homebrew/opt/openssl@3.0/bin:$PATH"' >> $HOME/.bash_profile + echo 'export LDFLAGS="-L/opt/homebrew/opt/openssl@3.0/lib"' >> $HOME/.bash_profile + echo 'export CPPFLAGS="-I/opt/homebrew/opt/openssl@3.0/include"' >> $HOME/.bash_profile + echo 'export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3.0/lib/pkgconfig"' >> $HOME/.bash_profile + source $HOME/.bash_profile + /opt/homebrew/opt/openssl@3.0/bin/c_rehash + fi brew link --overwrite pkgconf - name: Build run: autoreconf -ivf && PKG_CONFIG_PATH=`brew --prefix openssl@${{ matrix.openssl }}`/lib/pkgconfig ./configure && make