diff options
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index dbb01a8..9d4d759 100644 --- a/meson.build +++ b/meson.build @@ -203,7 +203,7 @@ elif opt_cryptolib != 'openssl' else crypto_dep = dependency('openssl', required: false) cdata.set('HAVE_OPENSSL', crypto_dep.found()) - if not crypto_dep.found() and openssl == 'auto' + if not crypto_dep.found() and opt_cryptolib == 'auto' crypto_dep = dependency('gnutls', version: gnutls_req, required: false) cdata.set('HAVE_GNUTLS', crypto_dep.found()) endif |