File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
compiler/rustc_codegen_ssa/src/back Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2754,8 +2754,10 @@ fn add_upstream_rust_crates(
2754
2754
. expect ( "failed to find crate type in dependency format list" ) ;
2755
2755
2756
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
2757
+ // Unlike ELF linkers, AIX doesn't feature `DT_SONAME` to override
2758
+ // 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.
2759
2761
// https://www.ibm.com/docs/en/aix/7.3?topic=l-ld-command.
2760
2762
cmd. link_or_cc_arg ( "-bnoipath" ) ;
2761
2763
}
You can’t perform that action at this time.
0 commit comments