1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-18 15:20:56 +03:00

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)
```
This commit is contained in:
Viktor Szakats
2024-04-25 21:12:59 +02:00
committed by GitHub
parent 790b1178eb
commit ae2770de25

View File

@@ -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