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 @@ -366,7 +366,7 @@ impl Step for Openssl {
366
366
if !ok {
367
367
panic ! ( "failed to download openssl source" )
368
368
}
369
- let mut shasum = if target. contains ( "apple" ) {
369
+ let mut shasum = if target. contains ( "apple" ) || build . build . contains ( "netbsd" ) {
370
370
let mut cmd = Command :: new ( "shasum" ) ;
371
371
cmd. arg ( "-a" ) . arg ( "256" ) ;
372
372
cmd
@@ -386,7 +386,7 @@ impl Step for Openssl {
386
386
let dst = build. openssl_install_dir ( target) . unwrap ( ) ;
387
387
drop ( fs:: remove_dir_all ( & obj) ) ;
388
388
drop ( fs:: remove_dir_all ( & dst) ) ;
389
- build. run ( Command :: new ( "tar" ) . arg ( "xf " ) . arg ( & tarball) . current_dir ( & out) ) ;
389
+ build. run ( Command :: new ( "tar" ) . arg ( "zxf " ) . arg ( & tarball) . current_dir ( & out) ) ;
390
390
391
391
let mut configure = Command :: new ( obj. join ( "Configure" ) ) ;
392
392
configure. arg ( format ! ( "--prefix={}" , dst. display( ) ) ) ;
You can’t perform that action at this time.
0 commit comments