Skip to content

Commit 08668f1

Browse files
simplify configuration
1 parent 45190d4 commit 08668f1

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

hts-sys/build.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,10 @@ fn main() {
100100

101101
!Command::new("./configure")
102102
.current_dir(out.join("htslib"))
103-
.arg("install")
104103
.env("CFLAGS", &cc_cflags)
105104
.arg(format!("--host={}", &host))
106-
.status().unwrap().success()
107-
&&
108-
109-
!Command::new("./configure")
110-
.current_dir(out.join("htslib"))
111-
.arg("install")
112105
.arg(format!("--prefix={}/local", home_dir().unwrap().into_os_string().into_string().unwrap()))
113-
.status().unwrap().success()
106+
.status().unwrap().success()
114107
{
115108
panic!("could not configure htslib nor any of its plugins")
116109
}

0 commit comments

Comments
 (0)