From e1153ff63ce572fa329e8ce8bf4b3206e8311a1c Mon Sep 17 00:00:00 2001 From: Xintao Date: Mon, 8 Jun 2020 13:57:08 +0800 Subject: [PATCH] address comment Signed-off-by: Xintao --- src/lib.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 14ecc283..223f1af3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -107,13 +107,9 @@ impl Build { // stuff depends on, and we don't bind to any of that in any case. .arg("no-async"); - if !target.contains("x86_64-unknown-linux-gnu") { + if target.contains("musl") { // This actually fails to compile on musl (it needs linux/version.h - // right now) but we don't actually need this most of the time. This - // is intended for super-configurable backends and whatnot - // apparently but the whole point of this script is to produce a - // "portable" implementation of OpenSSL, so shouldn't be any harm in - // turning this off. + // right now) but we don't actually need this most of the time. configure.arg("no-engine"); }