aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2023-01-30 10:12:46 +0100
committerMartin Ridgers <[email protected]>2023-02-02 14:55:14 +0100
commit40d1744cfb4acf2fcd3c03cc56ce5236ba48047e (patch)
treeb67183239b1622c82687f79489c0d04364884307
parentRemoved unused add_link() call (diff)
downloadzen-40d1744cfb4acf2fcd3c03cc56ce5236ba48047e.tar.xz
zen-40d1744cfb4acf2fcd3c03cc56ce5236ba48047e.zip
Missing pthread dependency
-rw-r--r--zentest-appstub/xmake.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/zentest-appstub/xmake.lua b/zentest-appstub/xmake.lua
index d43b05028..d8e0283c1 100644
--- a/zentest-appstub/xmake.lua
+++ b/zentest-appstub/xmake.lua
@@ -5,6 +5,10 @@ target("zentest-appstub")
add_headerfiles("**.h")
add_files("*.cpp")
+ if is_os("linux") then
+ add_syslinks("pthread")
+ end
+
if is_plat("macosx") then
add_ldflags("-framework CoreFoundation")
add_ldflags("-framework Security")