Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
LDVG committed Nov 7, 2023
1 parent 2d5a046 commit 52fad2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/macos_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: dependencies
run: brew install check cmake help2man libfido2 mandoc pkg-config automake
run: |
brew install check cmake help2man libfido2 mandoc pkg-config automake
- name: build
env:
CC: ${{ matrix.cc }}
Expand Down
5 changes: 4 additions & 1 deletion build-aux/ci/build-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
set -ex

# Link to the same OpenSSL version as libfido2.
OPENSSL="$(brew deps --installed libfido2 | grep openssl)"
OPENSSL="$(brew deps --installed libfido2 | grep openssl || true)"
if [[ -z "${OPENSSL}" ]]; then
OPENSSL="$(brew deps --missing --installed libfido2 | grep openssl)"
fi
LIBFIDO2_PKGCONF="$(brew --prefix libfido2)/lib/pkgconfig"
OPENSSL_PKGCONF="$(brew --prefix "${OPENSSL}")/lib/pkgconfig"
export PKG_CONFIG_PATH="${LIBFIDO2_PKGCONF}:${OPENSSL_PKGCONF}"
Expand Down

0 comments on commit 52fad2a

Please sign in to comment.