From 9bf048cccf44f8e5a0abf71e941d444d92757d4a Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Sun, 20 Dec 2020 18:52:10 +0000 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 b2a590307a..d570180e95 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -2370,7 +2370,8 @@ impl Step for HashSign { /// 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