Skip to content

Commit b53b853

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 1fd3a42 commit b53b853

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
@@ -367,7 +367,7 @@ impl Step for Openssl {
367367
if !ok {
368368
panic!("failed to download openssl source")
369369
}
370-
let mut shasum = if target.contains("apple") {
370+
let mut shasum = if target.contains("apple") || build.build.contains("netbsd") {
371371
let mut cmd = Command::new("shasum");
372372
cmd.arg("-a").arg("256");
373373
cmd

0 commit comments

Comments
 (0)