File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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 {
367367 if !ok {
368368 panic ! ( "failed to download openssl source" )
369369 }
370- let mut shasum = if target. contains ( "apple" ) {
370+ let mut shasum = if target. contains ( "apple" ) || build . build . contains ( "netbsd" ) {
371371 let mut cmd = Command :: new ( "shasum" ) ;
372372 cmd. arg ( "-a" ) . arg ( "256" ) ;
373373 cmd
@@ -387,7 +387,7 @@ impl Step for Openssl {
387387 let dst = build. openssl_install_dir ( target) . unwrap ( ) ;
388388 drop ( fs:: remove_dir_all ( & obj) ) ;
389389 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) ) ;
391391
392392 let mut configure = Command :: new ( "perl" ) ;
393393 configure. arg ( obj. join ( "Configure" ) ) ;
You can’t perform that action at this time.
0 commit comments