diff options
| author | Arthur LAURENT <[email protected]> | 2025-05-11 17:54:23 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2025-05-11 17:54:23 +0200 |
| commit | 7be20413ac8cdd099055ae4eef80647ead092838 (patch) | |
| tree | d1fd7e4ad5d8f1e92f9a88f7214f70698ddcf219 | |
| parent | 1e2f79f6d2e99f6eacd0f4e3182a050a3d8b75c1 (diff) | |
(C++ modules support) handle default c++ library for clang on ios and tvos
| -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++" |
