From a30c44c052222442555978b07d8522459825da18 Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Sat, 18 Sep 2021 11:45:21 +0100 Subject: [PATCH] u-dont-install-libllvm Bug: https://github.com/rust-lang/rust/issues/78932 Gbp-Pq: Name u-dont-install-libllvm.patch --- src/bootstrap/dist.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index 871a175091..7dd4684ff1 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -1812,7 +1812,8 @@ fn add_env(builder: &Builder<'_>, cmd: &mut Command, target: TargetSelection) { /// Note: This function does not yet support Windows, but we also don't support /// linking LLVM tools dynamically on Windows yet. fn maybe_install_llvm(builder: &Builder<'_>, target: TargetSelection, dst_libdir: &Path) { - if !builder.config.llvm_link_shared { + // Debian does not need to install this + if true { // We do not need to copy LLVM files into the sysroot if it is not // dynamically linked; it is already included into librustc_llvm // statically. -- 2.30.2