Skip to content

Commit cf318c3

Browse files
committed
bootstrap: use shasum(1) on NetBSD build hosts
NetBSD doesn't ship with sha256sum. The openssl build will probably try to use perl anyway, so using perl's shasum is reasonable.
1 parent 088216f commit cf318c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/native.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ impl Step for Openssl {
366366
if !ok {
367367
panic!("failed to download openssl source")
368368
}
369-
let mut shasum = if target.contains("apple") {
369+
let mut shasum = if target.contains("apple") || build.build.contains("netbsd") {
370370
let mut cmd = Command::new("shasum");
371371
cmd.arg("-a").arg("256");
372372
cmd

0 commit comments

Comments
 (0)