浏览代码

update tbox

ruki 4 年之前
父节点
当前提交
647f0a9279
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      packages/t/tbox/xmake.lua

+ 2 - 0
packages/t/tbox/xmake.lua

@@ -32,6 +32,8 @@ package("tbox")
         add_syslinks("pthread")
     elseif is_plat("macosx", "iphoneos") then
         add_frameworks("Foundation")
+    elseif is_plat("linux", "bsd") then
+        add_syslinks("pthread", "m", "dl")
     end
 
     on_load(function (package)