We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18f8657 commit 1ae1f8cCopy full SHA for 1ae1f8c
compiler/rustc_codegen_ssa/src/back/link.rs
@@ -2754,8 +2754,10 @@ fn add_upstream_rust_crates(
2754
.expect("failed to find crate type in dependency format list");
2755
2756
if sess.target.is_like_aix {
2757
- // Unlike GNU's ld, AIX linker doesn't feature `-soname=...` when output
2758
- // a shared library. Instead, AIX linker offers `(no)ipath`. See
+ // Unlike ELF linkers, AIX doesn't feature `DT_SONAME` to override
+ // the dependency name when outputing a shared library. Thus, `ld` will
2759
+ // use the full path to shared libraries as the dependency if passed it
2760
+ // by default unless `noipath` is passed.
2761
// https://www.ibm.com/docs/en/aix/7.3?topic=l-ld-command.
2762
cmd.link_or_cc_arg("-bnoipath");
2763
}
0 commit comments