Skip to content

Commit c9f5711

Browse files
refactor: static link libc++
1 parent 7d10dbc commit c9f5711

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

xmake.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ target("BinaryStream")
6969
"-static-libstdc++",
7070
"-static-libgcc"
7171
)
72-
add_syslinks("libc++.a", "libc++abi.a")
73-
if is_plat("macosx") then
72+
if is_plat("linux") then
73+
add_syslinks("libc++.a", "libc++abi.a")
74+
elseif is_plat("macosx") then
7475
add_shflags("-dynamiclib")
7576
end
7677
end

0 commit comments

Comments
 (0)