From ae2770de25949bc7c74e60b4cc6a011bbe1d3d7c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 25 Apr 2024 21:12:59 +0200 Subject: [PATCH] ci/GHA: fix gcrypt with autotools/macOS/Homebrew/ARM64 (#1377) mbedtls configure fails to detect anything due to this: ``` configure:23101: gcc -o conftest -g -O2 -I/opt/homebrew/include conftest.c -lmbedcrypto -lz >&5 ld: library 'mbedcrypto' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4d3741e..3fbdb29c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -542,7 +542,7 @@ jobs: cmake: -DCRYPTO_BACKEND=wolfSSL - name: 'libgcrypt' install: libgcrypt - configure: --with-crypto=libgcrypt "--with-libgcrypt-prefix=$(brew --prefix)/opt/libgcrypt" + configure: --with-crypto=libgcrypt "--with-libgcrypt-prefix=$(brew --prefix)" cmake: -DCRYPTO_BACKEND=Libgcrypt - name: 'mbedTLS' install: mbedtls