We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 51f6ff3 + ab89870 commit b475b0aCopy full SHA for b475b0a
src/bootstrap/native.rs
@@ -367,7 +367,7 @@ impl Step for Openssl {
367
if !ok {
368
panic!("failed to download openssl source")
369
}
370
- let mut shasum = if target.contains("apple") {
+ let mut shasum = if target.contains("apple") || build.build.contains("netbsd") {
371
let mut cmd = Command::new("shasum");
372
cmd.arg("-a").arg("256");
373
cmd
@@ -387,7 +387,7 @@ impl Step for Openssl {
387
let dst = build.openssl_install_dir(target).unwrap();
388
drop(fs::remove_dir_all(&obj));
389
drop(fs::remove_dir_all(&dst));
390
- build.run(Command::new("tar").arg("xf").arg(&tarball).current_dir(&out));
+ build.run(Command::new("tar").arg("zxf").arg(&tarball).current_dir(&out));
391
392
let mut configure = Command::new("perl");
393
configure.arg(obj.join("Configure"));
0 commit comments