Skip to content

Commit ae2770d

Browse files
authored
ci/GHA: fix gcrypt with autotools/macOS/Homebrew/ARM64 (libssh2#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) ```
1 parent 790b117 commit ae2770d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ jobs:
542542
cmake: -DCRYPTO_BACKEND=wolfSSL
543543
- name: 'libgcrypt'
544544
install: libgcrypt
545-
configure: --with-crypto=libgcrypt "--with-libgcrypt-prefix=$(brew --prefix)/opt/libgcrypt"
545+
configure: --with-crypto=libgcrypt "--with-libgcrypt-prefix=$(brew --prefix)"
546546
cmake: -DCRYPTO_BACKEND=Libgcrypt
547547
- name: 'mbedTLS'
548548
install: mbedtls

0 commit comments

Comments
 (0)