Skip to content

Commit 8d0e918

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/native.rs

+4
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,10 @@ impl Step for Llvm {
293293
cfg.define("PYTHON_EXECUTABLE", python);
294294
}
295295

296+
if let Some(ref libtool) = env::var_os("CMAKE_LIBTOOL") {
297+
cfg.define("CMAKE_LIBTOOL", libtool);
298+
}
299+
296300
configure_cmake(builder, target, &mut cfg);
297301

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

0 commit comments

Comments
 (0)