Skip to content

Commit

Permalink
explicitly look for mbedcrypto dependency
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
pabuhler committed Dec 11, 2024
1 parent 3a399ab commit 1af5c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1af5c91

Please sign in to comment.