Skip to content

Commit 5b99f73

Browse files
committed
aix: link libc++abi when using libc++
1 parent 89fb94c commit 5b99f73

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,6 +1632,10 @@ impl Build {
16321632
));
16331633
}
16341634
}
1635+
// On aix we must also link libc++abi when using libc++
1636+
if self.get_target()?.os == aix {
1637+
self.cargo_output.print_metadata(&"cargo:rustc-link-lib=c++abi");
1638+
}
16351639
}
16361640

16371641
let cudart = match &self.cudart {

0 commit comments

Comments
 (0)