Skip to content

Commit 00f7f57

Browse files
author
Kai Luo
committed
Fix build on AIX
1 parent 1f2d142 commit 00f7f57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_llvm/build.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -391,9 +391,10 @@ fn main() {
391391
}
392392
}
393393

394-
// libc++abi have to be specified explicitly on AIX.
394+
// libc++abi and libunwind have to be specified explicitly on AIX.
395395
if target.contains("aix") {
396396
println!("cargo:rustc-link-lib=c++abi");
397+
println!("cargo:rustc-link-lib=unwind");
397398
}
398399

399400
// Libstdc++ depends on pthread which Rust doesn't link on MinGW

0 commit comments

Comments
 (0)