librustc_llvm: default to libc++ for darwin
This commit is contained in:
parent
8b88324c56
commit
400dec059e
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user