Skip to content

Commit

Permalink
librustc_llvm: default to libc++ for darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Jan 25, 2019
1 parent 8b88324 commit 400dec0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/librustc_llvm/build.rs
Expand Up @@ -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"
Expand Down

0 comments on commit 400dec0

Please sign in to comment.