Skip to content

Commit 7be2041

Browse files
committed
(C++ modules support) handle default c++ library for clang on ios and tvos
1 parent 1e2f79f commit 7be2041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/rules/c++/modules/clang/support.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function _get_cpplibrary_name(target)
7171
elseif target:has_runtime("MD", "MT", "MDd", "MTd") then
7272
return "msstl"
7373
end
74-
if target:is_plat("macosx") then
74+
if target:is_plat("macosx") or target:is_plat("ios") or target:is_plat("tvos") then
7575
return "c++"
7676
elseif target:is_plat("linux") then
7777
return "stdc++"

0 commit comments

Comments
 (0)