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:
@@ -367,7 +367,7 @@ impl Step for Openssl {
|
|||||||
if !ok {
|
if !ok {
|
||||||
panic!("failed to download openssl source")
|
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");
|
let mut cmd = Command::new("shasum");
|
||||||
cmd.arg("-a").arg("256");
|
cmd.arg("-a").arg("256");
|
||||||
cmd
|
cmd
|
||||||
|
|||||||
Reference in New Issue
Block a user