Browse Source

update tbox

ruki 4 years ago
parent
commit
647f0a9279
1 changed files with 2 additions and 0 deletions
  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)