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 e1153ff commit 11389d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +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("musl") {
if !target.contains("x86_64-unknown-linux-gnu")
&& !target.contains("aarch64-unknown-linux-gnu")
{
// 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.
configure.arg("no-engine");
Expand Down

0 comments on commit 11389d0

Please sign in to comment.