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(