Skip to content

Commit def91fa

Browse files
committed
Introduced CMAKE_LIBTOOL
The better approach is backported to upstream as rust-lang/rust#93629
1 parent add5dc8 commit def91fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/native.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,10 @@ impl Step for Llvm {
261261
cfg.define("PYTHON_EXECUTABLE", python);
262262
}
263263

264+
if let Some(ref libtool) = env::var_os("CMAKE_LIBTOOL") {
265+
cfg.define("CMAKE_LIBTOOL", libtool);
266+
}
267+
264268
configure_cmake(builder, target, &mut cfg);
265269

266270
// FIXME: we don't actually need to build all LLVM tools and all LLVM

0 commit comments

Comments
 (0)