Skip to content

Commit

Permalink
Fixed brew [email protected] link steps
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecosta90 committed Nov 21, 2024
1 parent a6465f5 commit d467f48
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]/bin:$PATH"' >> $HOME/.bash_profile
echo 'export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib"' >> $HOME/.bash_profile
echo 'export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include"' >> $HOME/.bash_profile
echo 'export PKG_CONFIG_PATH="/opt/homebrew/opt/[email protected]/lib/pkgconfig"' >> $HOME/.bash_profile
source $HOME/.bash_profile
/opt/homebrew/opt/[email protected]/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
Expand Down

0 comments on commit d467f48

Please sign in to comment.