librustc_llvm: default to libc++ for darwin
This commit is contained in:
parent
8b88324c56
commit
400dec059e
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue