We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9eee230 + 91471c8 commit a28e125Copy full SHA for a28e125
src/bootstrap/builder.rs
@@ -1635,7 +1635,7 @@ impl<'a> Builder<'a> {
1635
// flesh out rpath support more fully in the future.
1636
rustflags.arg("-Zosx-rpath-install-name");
1637
Some("-Wl,-rpath,@loader_path/../lib")
1638
- } else if !target.contains("windows") {
+ } else if !target.contains("windows") && !target.contains("aix") {
1639
rustflags.arg("-Clink-args=-Wl,-z,origin");
1640
Some("-Wl,-rpath,$ORIGIN/../lib")
1641
} else {
0 commit comments