From c1bf1c8ee4f823a607837c68cca7988617ca4951 Mon Sep 17 00:00:00 2001 From: Kai Luo Date: Mon, 8 May 2023 10:09:11 +0800 Subject: [PATCH] Link against libc++ on AIX --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index d1bd3c667..4bb110162 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2680,6 +2680,8 @@ impl Build { Ok(Some("c++".to_string())) } else if target.contains("openbsd") { Ok(Some("c++".to_string())) + } else if target.contains("aix") { + Ok(Some("c++".to_string())) } else if target.contains("android") { Ok(Some("c++_shared".to_string())) } else {