diff --git a/packages/t/tbox/xmake.lua b/packages/t/tbox/xmake.lua index 19f93f6d1..16472a836 100644 --- a/packages/t/tbox/xmake.lua +++ b/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)