Fix linking c++ runtimes on AIX
This commit is contained in:
parent
e2cf2cb303
commit
1f2d1420cb
@ -391,6 +391,11 @@ fn main() {
|
||||
}
|
||||
}
|
||||
|
||||
// libc++abi have to be specified explicitly on AIX.
|
||||
if target.contains("aix") {
|
||||
println!("cargo:rustc-link-lib=c++abi");
|
||||
}
|
||||
|
||||
// Libstdc++ depends on pthread which Rust doesn't link on MinGW
|
||||
// since nothing else requires it.
|
||||
if target.ends_with("windows-gnu") {
|
||||
|
Loading…
Reference in New Issue
Block a user