summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2021-11-02 12:33:13 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2021-11-02 12:33:56 -0400
commit15bb23abb7f44aa037b4d8f5fc6718d90ce3db0c (patch)
tree5f9f928fe171227012e4a104036ec865ba57d258
parent8e257029630dc9f494f261617b300da145b7ef86 (diff)
meson: Fix name of variable
This is a fix over the recent fix in commit 574f44b4
-rw-r--r--meson.build2
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