Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: Xintao <[email protected]>
  • Loading branch information
hunterlxt committed Jun 8, 2020
1 parent ef1cfcb commit e1153ff
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit e1153ff

Please sign in to comment.