diff options
| -rw-r--r-- | xmake/rules/c++/modules/clang/support.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/clang/support.lua b/xmake/rules/c++/modules/clang/support.lua index 61a9724e5..e351bc615 100644 --- a/xmake/rules/c++/modules/clang/support.lua +++ b/xmake/rules/c++/modules/clang/support.lua @@ -71,7 +71,7 @@ function _get_cpplibrary_name(target) elseif target:has_runtime("MD", "MT", "MDd", "MTd") then return "msstl" end - if target:is_plat("macosx") then + if target:is_plat("macosx") or target:is_plat("ios") or target:is_plat("tvos") then return "c++" elseif target:is_plat("linux") then return "stdc++" |
