diff --git a/packages/s/s7/port/xmake.lua b/packages/s/s7/port/xmake.lua index e0a2f0109..a569b9fd4 100644 --- a/packages/s/s7/port/xmake.lua +++ b/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