Skip to content

Commit 91471c8

Browse files
author
Kai Luo
committed
Rpath is not supported on AIX
1 parent 1c771fe commit 91471c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1554,7 +1554,7 @@ impl<'a> Builder<'a> {
15541554
// flesh out rpath support more fully in the future.
15551555
rustflags.arg("-Zosx-rpath-install-name");
15561556
Some("-Wl,-rpath,@loader_path/../lib")
1557-
} else if !target.contains("windows") {
1557+
} else if !target.contains("windows") && !target.contains("aix") {
15581558
rustflags.arg("-Clink-args=-Wl,-z,origin");
15591559
Some("-Wl,-rpath,$ORIGIN/../lib")
15601560
} else {

0 commit comments

Comments
 (0)