Skip to content

Commit d5524aa

Browse files
pass prefix to MUSL install
1 parent e7f05b7 commit d5524aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hts-sys/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,20 +132,23 @@ fn main() {
132132
// https://github.com/rust-lang/cargo/issues/572#issuecomment-632456478
133133
!Command::new("make")
134134
.current_dir(out.join("htslib"))
135+
.arg("install")
135136
.arg("clean")
136137
.status().unwrap().success()
137138

138139
&&
139140

140141
!Command::new("autoreconf")
141142
.current_dir(out.join("htslib"))
143+
.arg("install")
142144
.env("CFLAGS", &cc_cflags)
143145
.status().unwrap().success()
144146

145147
&&
146148

147149
!Command::new("./configure")
148150
.current_dir(out.join("htslib"))
151+
.arg("install")
149152
.env("CFLAGS", &cc_cflags)
150153
.arg(format!("--host={}", &host))
151154
.status().unwrap().success()

0 commit comments

Comments
 (0)