Fix s7 link error on Linux (#2119)

Co-authored-by: 沈浪熊猫儿 <shenda@ustc.edu>
pull/2120/head
Darcy Shen 2 years ago committed by GitHub
parent 2e9b789abb
commit 01cea90aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/s/s7/port/xmake.lua

@ -39,4 +39,7 @@ target("s7") do
if not is_plat("macosx") then
add_ldflags("-static", "-static-libgcc", {force = true})
end
if is_plat("linux") then
add_syslinks("pthread", "dl")
end
end

Loading…
Cancel
Save