summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromnisci3nce <17525998+omnisci3nce@users.noreply.github.com>2024-03-09 17:21:56 +1100
committeromnisci3nce <17525998+omnisci3nce@users.noreply.github.com>2024-03-09 17:21:56 +1100
commit8019f49a4b0d657f882c148ae6582da78a7d2262 (patch)
treec088ea7fc9c7319233a58f729b700c921f8ff0ac
parentf33792a01fa64126e1c481a77b49871dcd413fa1 (diff)
add pthreads link flag
-rw-r--r--xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake.lua b/xmake.lua
index 1b2683f..15159ef 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -19,7 +19,7 @@ end
-- Platform defines and system packages
if is_plat("linux") then
add_defines("CEL_PLATFORM_LINUX")
- add_syslinks("dl", "X11")
+ add_syslinks("dl", "X11", "pthread")
elseif is_plat("windows") then
add_defines("CEL_PLATFORM_WINDOWS")
elseif is_plat("macosx") then