File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -86,27 +86,31 @@ fn main() {
86
86
// https://github.com/rust-lang/cargo/issues/572#issuecomment-632456478
87
87
!Command :: new ( "make" )
88
88
. current_dir ( out. join ( "htslib" ) )
89
- . arg ( "install" )
90
89
. arg ( "clean" )
91
90
. status ( ) . unwrap ( ) . success ( )
92
91
93
92
&&
94
93
95
94
!Command :: new ( "autoreconf" )
96
95
. current_dir ( out. join ( "htslib" ) )
97
- . arg ( "install" )
98
96
. env ( "CFLAGS" , & cc_cflags)
99
97
. status ( ) . unwrap ( ) . success ( )
100
98
101
99
&&
102
-
100
+
103
101
!Command :: new ( "./configure" )
104
102
. current_dir ( out. join ( "htslib" ) )
105
103
. arg ( "install" )
106
- . arg ( format ! ( "--prefix={}/local" , home_dir( ) . unwrap( ) . into_os_string( ) . into_string( ) . unwrap( ) ) )
107
104
. env ( "CFLAGS" , & cc_cflags)
108
105
. arg ( format ! ( "--host={}" , & host) )
109
106
. status ( ) . unwrap ( ) . success ( )
107
+ &&
108
+
109
+ !Command :: new ( "./configure" )
110
+ . current_dir ( out. join ( "htslib" ) )
111
+ . arg ( "install" )
112
+ . arg ( format ! ( "--prefix={}/local" , home_dir( ) . unwrap( ) . into_os_string( ) . into_string( ) . unwrap( ) ) )
113
+ . status ( ) . unwrap ( ) . success ( )
110
114
{
111
115
panic ! ( "could not configure htslib nor any of its plugins" )
112
116
}
You can’t perform that action at this time.
0 commit comments