From 981d6951a9808f062358dd700259d6f3b880cb3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20B=C3=BChler?= Date: Mon, 22 Apr 2024 14:37:38 +0200 Subject: [PATCH] explicitly look for mbedcrypto dependency At least on OSX this is now required in order get the mbedcrypto library on the link line. I ma not sure what has changed but testing shows this to fix the issue. #700 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 7363f3b2a..688c449e3 100644 --- a/meson.build +++ b/meson.build @@ -154,7 +154,7 @@ elif crypto_library == 'nss' error('KDF support has not been implemented for NSS') endif elif crypto_library == 'mbedtls' - mbedtls_dep = dependency('mbedtls', required: false) + mbedtls_dep = dependency('mbedcrypto', required: false) if not mbedtls_dep.found() mbedtls_dep = cc.find_library('mbedcrypto', has_headers: ['mbedtls/aes.h'], required: true) endif