From a7a2039fd2f6fce8c342ed2901f22c533e91b8c2 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Thu, 6 Nov 2025 08:10:27 +0100 Subject: [PATCH] build: avoid breaking cross builds with OpenSSL enabled The OpenSSL sanity check wants to be executed, thus we should only try this if it's possible. Since this is just a warning, we can just skip it if it is not possible. Tested-by: Bernd Kuhls Signed-off-by: Daniel Wagner --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index dce5c68ef..6d1f52048 100644 --- a/meson.build +++ b/meson.build @@ -252,7 +252,7 @@ else conf.set('fallthrough', 'do {} while (0) /* fallthrough */') endif -if openssl_dep.found() +if openssl_dep.found() and meson.can_run_host_binaries() if openssl_dep.type_name() != 'internal' # Check for a bug in the EVP_PKEY_CTX_add1_hkdf_info implementation res = cc.run(