meson: Fix name of variable 43/271243/1
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Tue, 2 Nov 2021 16:33:13 +0000 (12:33 -0400)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 17 Feb 2022 05:17:44 +0000 (14:17 +0900)
This is a fix over the recent fix in commit 574f44b4

Change-Id: I922f0895ae13d5802aea4775860f642d18c8d86c

meson.build

index 41aeb96..48b69ac 100644 (file)
@@ -201,7 +201,7 @@ if 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