Skip to content

Commit e3646f3

Browse files
1 parent d5524aa commit e3646f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hts-sys/build.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,11 @@ fn main() {
8181
let (cc_path, cflags_env) = (tool.path(), tool.cflags_env());
8282
#[allow(unused_variables)]
8383
let cc_cflags = cflags_env.to_string_lossy().replace("-O0", "");
84-
if Command::new("autoheader")
84+
if !Command::new("autoheader")
8585
.current_dir(out.join("htslib"))
8686
.status()
8787
.unwrap()
8888
.success()
89-
!= true
9089
{
9190
panic!("failed to build htslib");
9291
}

0 commit comments

Comments
 (0)