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 61f4082
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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
8 changes: 6 additions & 2 deletions build-aux/ci/build-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
set -ex

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

./autogen.sh
Expand Down

0 comments on commit 61f4082

Please sign in to comment.