We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17d321c commit 4117b5eCopy full SHA for 4117b5e
src/bootstrap/llvm.rs
@@ -845,7 +845,8 @@ impl Step for Lld {
845
// component installed, one can successfully invoke `rust-lld` directly without rustup's
846
// `LD_LIBRARY_PATH` overrides)
847
//
848
- if builder.config.rust_rpath
+ if builder.config.rpath_enabled(target)
849
+ && util::use_host_linker(target)
850
&& builder.config.llvm_link_shared()
851
&& target.contains("linux")
852
{
0 commit comments