Skip to content

Commit a937589

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

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
@@ -315,6 +315,10 @@ impl Step for Llvm {
315315
cfg.define("LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN", "YES");
316316
}
317317

318+
if let Some(ref libtool) = env::var_os("CMAKE_LIBTOOL") {
319+
cfg.define("CMAKE_LIBTOOL", libtool);
320+
}
321+
318322
configure_cmake(builder, target, &mut cfg, true);
319323

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

0 commit comments

Comments
 (0)