librustc_llvm: default to libc++ for darwin

This commit is contained in:
Josh Stone 2019-01-23 16:17:24 -08:00
parent 8b88324c56
commit 400dec059e

View File

@ -243,6 +243,8 @@ fn main() {
"c++"
} else if target.contains("freebsd") {
"c++"
} else if target.contains("darwin") {
"c++"
} else if target.contains("netbsd") && llvm_static_stdcpp.is_some() {
// NetBSD uses a separate library when relocation is required
"stdc++_pic"