Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #11968 - bzEq:aix-libpath, r=weihanglo
fix: AIX searches dynamic libraries in `LIBPATH`. ### What does this PR try to resolve? On IBM AIX machines people have encountered issues in `compiletest` and rustc's bootstrap builder. They haven't encountered any in cargo. This PR is made for avoiding potential failures in the future in cargo. It's documented in <https://www.ibm.com/support/pages/libpath-environment-variables-aix-platforms>: > The `LIBPATH` environment variable tells AIX applications where to find shared libraries when located in a different directories than those specified in the header section of the executable. See also the counterpart in <rust-lang/rust#109526> ### How to verify and test this in Cargo's CI? This is indeed an issue. At IBM people are maintaining a buildbot since GitHub Action doesn't support AIX yet.
- Loading branch information