Skip to content

Commit 11389d0

Browse files
committed
address comment
Signed-off-by: Xintao <[email protected]>
1 parent e1153ff commit 11389d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ impl Build {
107107
// stuff depends on, and we don't bind to any of that in any case.
108108
.arg("no-async");
109109

110-
if target.contains("musl") {
110+
if !target.contains("x86_64-unknown-linux-gnu")
111+
&& !target.contains("aarch64-unknown-linux-gnu")
112+
{
111113
// This actually fails to compile on musl (it needs linux/version.h
112114
// right now) but we don't actually need this most of the time.
113115
configure.arg("no-engine");

0 commit comments

Comments
 (0)