Skip to content

Commit d467f48

Browse files
committed
Fixed brew [email protected] link steps
1 parent a6465f5 commit d467f48

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,14 @@ jobs:
111111
- name: Install dependencies
112112
run: |
113113
brew install autoconf automake libtool libevent pkg-config openssl@${{ matrix.openssl }}
114+
if [ "${{ matrix.openssl }}" == "3.0" ]; then
115+
echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> $HOME/.bash_profile
116+
echo 'export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib"' >> $HOME/.bash_profile
117+
echo 'export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include"' >> $HOME/.bash_profile
118+
echo 'export PKG_CONFIG_PATH="/opt/homebrew/opt/[email protected]/lib/pkgconfig"' >> $HOME/.bash_profile
119+
source $HOME/.bash_profile
120+
/opt/homebrew/opt/[email protected]/bin/c_rehash
121+
fi
114122
brew link --overwrite pkgconf
115123
- name: Build
116124
run: autoreconf -ivf && PKG_CONFIG_PATH=`brew --prefix openssl@${{ matrix.openssl }}`/lib/pkgconfig ./configure && make

0 commit comments

Comments
 (0)