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.
This commit is contained in:
parent
1fd3a42c62
commit
b53b853129
|
@ -367,7 +367,7 @@ impl Step for Openssl {
|
|||
if !ok {
|
||||
panic!("failed to download openssl source")
|
||||
}
|
||||
let mut shasum = if target.contains("apple") {
|
||||
let mut shasum = if target.contains("apple") || build.build.contains("netbsd") {
|
||||
let mut cmd = Command::new("shasum");
|
||||
cmd.arg("-a").arg("256");
|
||||
cmd
|
||||
|
|
Loading…
Reference in New Issue