File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ impl Step for Openssl {
367
367
if !ok {
368
368
panic ! ( "failed to download openssl source" )
369
369
}
370
- let mut shasum = if target. contains ( "apple" ) {
370
+ let mut shasum = if target. contains ( "apple" ) || build . build . contains ( "netbsd" ) {
371
371
let mut cmd = Command :: new ( "shasum" ) ;
372
372
cmd. arg ( "-a" ) . arg ( "256" ) ;
373
373
cmd
@@ -387,7 +387,7 @@ impl Step for Openssl {
387
387
let dst = build. openssl_install_dir ( target) . unwrap ( ) ;
388
388
drop ( fs:: remove_dir_all ( & obj) ) ;
389
389
drop ( fs:: remove_dir_all ( & dst) ) ;
390
- build. run ( Command :: new ( "tar" ) . arg ( "xf " ) . arg ( & tarball) . current_dir ( & out) ) ;
390
+ build. run ( Command :: new ( "tar" ) . arg ( "zxf " ) . arg ( & tarball) . current_dir ( & out) ) ;
391
391
392
392
let mut configure = Command :: new ( "perl" ) ;
393
393
configure. arg ( obj. join ( "Configure" ) ) ;
You can’t perform that action at this time.
0 commit comments