Darcy Shen 2 лет назад
Родитель
Сommit
50fc01bf14
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      packages/s/s7/port/xmake.lua
  2. 1 1
      packages/s/s7/xmake.lua

+ 1 - 1
packages/s/s7/port/xmake.lua

@@ -40,6 +40,6 @@ target("s7") do
         add_ldflags("-static", "-static-libgcc", {force = true})
     end
     if is_plat("linux") then
-        add_syslinks("pthread", "dl")
+        add_syslinks("pthread", "dl", "m")
     end
 end

+ 1 - 1
packages/s/s7/xmake.lua

@@ -18,7 +18,7 @@ package("s7")
     end)
 
     if is_plat("linux") then
-        add_syslinks("pthread", "dl")
+        add_syslinks("pthread", "dl", "m")
     end
 
     on_install("bsd", "cross", "cygwin", "linux", "macosx", "mingw", "msys", "wasm", "windows", function (package)