aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-02 15:27:44 +0100
committerMartin Ridgers <[email protected]>2021-11-02 15:44:40 +0100
commit01a831c924177e5bf430f2afdc023d86b241aa98 (patch)
tree768bfbb488ad645417ad7ebec6ffedb579a82957
parentif-def'd out Windows service handling code in zenserver.cpp (diff)
downloadzen-01a831c924177e5bf430f2afdc023d86b241aa98.tar.xz
zen-01a831c924177e5bf430f2afdc023d86b241aa98.zip
Fixed shm_open() and friends link error
-rw-r--r--zenutil/xmake.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/zenutil/xmake.lua b/zenutil/xmake.lua
index 7cd29a86f..e3cbec94e 100644
--- a/zenutil/xmake.lua
+++ b/zenutil/xmake.lua
@@ -3,4 +3,8 @@ target('zenutil')
add_files("**.cpp")
add_includedirs("include", {public=true})
add_deps("zencore")
- add_packages("vcpkg::spdlog") \ No newline at end of file
+ add_packages("vcpkg::spdlog")
+
+ if is_os("linux") then
+ add_links("rt")
+ end \ No newline at end of file