Skip to content

Commit

Permalink
Fixing pkgconfig link and unlink
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecosta90 committed Nov 21, 2024
1 parent 4caed2b commit 2f0f2be
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,6 @@ jobs:
- name: Install dependencies
run: |
brew install autoconf automake libtool libevent pkg-config openssl@${{ matrix.openssl }}
echo 'export PATH="/opt/homebrew/opt/openssl@${{ matrix.openssl }}/bin:$PATH"' >> $HOME/.bash_profile
echo 'export LDFLAGS="-L/opt/homebrew/opt/openssl@${{ matrix.openssl }}/lib"' >> $HOME/.bash_profile
echo 'export CPPFLAGS="-I/opt/homebrew/opt/openssl@@${{ matrix.openssl }}/include"' >> $HOME/.bash_profile
echo 'export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@@${{ matrix.openssl }}/lib/pkgconfig"' >> $HOME/.bash_profile
source $HOME/.bash_profile
/opt/homebrew/opt/openssl@@${{ matrix.openssl }}/bin/c_rehash
- name: Build
run: autoreconf -ivf && PKG_CONFIG_PATH=`brew --prefix openssl@${{ matrix.openssl }}`/lib/pkgconfig ./configure && make

Expand All @@ -130,10 +124,6 @@ jobs:
- name: Install dependencies
run: |
brew install autoconf automake libtool libevent pkg-config
if ! brew list --versions pkgconf > /dev/null; then
brew install pkgconf
fi
brew link --overwrite pkgconf
- name: Install openssl v1.0.2
run: brew install rbenv/tap/openssl@1.0
- name: Build
Expand Down

0 comments on commit 2f0f2be

Please sign in to comment.