From: Remi Gacogne Date: Mon, 3 Mar 2025 11:27:43 +0000 (+0100) Subject: dnsdist: Fix detection of libcrypto's configured value in meson X-Git-Tag: dnsdist-2.0.0-alpha1~30^2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1a42670e6f832edd1705283d80c2665865939b4;p=thirdparty%2Fpdns.git dnsdist: Fix detection of libcrypto's configured value in meson --- diff --git a/pdns/dnsdistdist/meson/libcrypto/meson.build b/pdns/dnsdistdist/meson/libcrypto/meson.build index 9bb2d1ff7a..3df544eb22 100644 --- a/pdns/dnsdistdist/meson/libcrypto/meson.build +++ b/pdns/dnsdistdist/meson/libcrypto/meson.build @@ -56,7 +56,7 @@ endif if not dep_libcrypto.found() err_msg = 'Could not find libcrypto in ' + ', '.join(ssldirs) - if opt_libcrypto == 'auto' + if opt_libcrypto.auto() # We could not find libcrypto anywhere, and the user did not require it. warning(err_msg) summary('OpenSSL libcrypto', false, bool_yn: true, section: 'Crypto') @@ -69,7 +69,7 @@ endif if not cxx.links(fs.read('bn_new.cc'), name: 'libcrypto test program', dependencies: dep_libcrypto) err_msg = 'Cannot link against libcrypto' - if opt_libcrypto == 'auto' + if opt_libcrypto.auto() # We could not link against libcrypto, and the user did not require it. warning(err_msg) summary('OpenSSL libcrypto', false, bool_yn: true, section: 'Crypto')