Fix build on AIX
This commit is contained in:
parent
1f2d1420cb
commit
00f7f57159
1 changed files with 2 additions and 1 deletions
|
@ -391,9 +391,10 @@ fn main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// libc++abi have to be specified explicitly on AIX.
|
// libc++abi and libunwind have to be specified explicitly on AIX.
|
||||||
if target.contains("aix") {
|
if target.contains("aix") {
|
||||||
println!("cargo:rustc-link-lib=c++abi");
|
println!("cargo:rustc-link-lib=c++abi");
|
||||||
|
println!("cargo:rustc-link-lib=unwind");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Libstdc++ depends on pthread which Rust doesn't link on MinGW
|
// Libstdc++ depends on pthread which Rust doesn't link on MinGW
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue