Commit 15bb23ab authored by Olivier Crête's avatar Olivier Crête

meson: Fix name of variable

This is a fix over the recent fix in commit 574f44b4
parent 8e257029
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment