From: Francis Dupont Date: Wed, 19 Mar 2025 08:12:21 +0000 (+0100) Subject: [#3793] Removed required X-Git-Tag: Kea-2.7.7~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c4f5d929836da54c455ace611d2af8c10adbf191;p=thirdparty%2Fkea.git [#3793] Removed required --- diff --git a/meson.build b/meson.build index 9ba390348f..55effe6ce9 100644 --- a/meson.build +++ b/meson.build @@ -323,18 +323,19 @@ if cpp.has_link_argument('-Wl,--no-undefined') endif if CRYPTO_DEP.name() == openssl.name() - cpp.run( + return1 = cpp.run( fs.read('compiler-checks/have-generic-tls-method.cc'), name: 'HAVE_GENERIC_TLS_METHOD', dependencies: [boost_dep, CRYPTO_DEP, threads_dep], - required: true, ) - cpp.run( + return2 = cpp.run( fs.read('compiler-checks/stream-truncated-error.cc'), name: 'HAVE_STREAM_TRUNCATED_ERROR', dependencies: [boost_dep, CRYPTO_DEP, threads_dep], - required: true, ) + if return1.returncode() != 0 or return2.returncode() + error("Boost TLS support broken.") + endif endif result = cpp.run(