mirror of
https://github.com/termux/termux-packages.git
synced 2025-02-22 15:47:26 +00:00
12 lines
379 B
Diff
12 lines
379 B
Diff
--- a/compiler/rustc_llvm/build.rs
|
|
+++ b/compiler/rustc_llvm/build.rs
|
|
@@ -350,6 +350,8 @@
|
|
|| target.contains("aix")
|
|
{
|
|
"c++"
|
|
+ } else if target.contains("android") {
|
|
+ "c++_shared"
|
|
} else if target.contains("netbsd") && llvm_static_stdcpp.is_some() {
|
|
// NetBSD uses a separate library when relocation is required
|
|
"stdc++_p"
|