Skip to content

Commit 4477f21

Browse files
committed
Run sh manually to appease Windows
Closes #33
1 parent 4219027 commit 4477f21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backtrace-sys/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ fn main() {
7171
flags.push(flag);
7272
}
7373
let ar = find_tool(&compiler, cc, "ar");
74-
run(Command::new(src.join("src/libbacktrace/configure"))
74+
run(Command::new("sh")
75+
.arg(src.join("src/libbacktrace/configure"))
7576
.current_dir(&dst)
7677
.env("CC", compiler.path())
7778
.env("CFLAGS", flags)

0 commit comments

Comments
 (0)