Skip to content

Commit 1af5c91

Browse files
committed
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 (cherry picked from commit 981d695)
1 parent 3a399ab commit 1af5c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ elif crypto_library == 'nss'
154154
error('KDF support has not been implemented for NSS')
155155
endif
156156
elif crypto_library == 'mbedtls'
157-
mbedtls_dep = dependency('mbedtls', required: false)
157+
mbedtls_dep = dependency('mbedcrypto', required: false)
158158
if not mbedtls_dep.found()
159159
mbedtls_dep = cc.find_library('mbedcrypto', has_headers: ['mbedtls/aes.h'], required: true)
160160
endif

0 commit comments

Comments
 (0)