diff options
| -rw-r--r-- | zencore/xmake.lua | 2 | ||||
| -rw-r--r-- | zenutil/xmake.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/zencore/xmake.lua b/zencore/xmake.lua index d53a2758a..646d8dbd5 100644 --- a/zencore/xmake.lua +++ b/zencore/xmake.lua @@ -11,7 +11,7 @@ target('zencore') add_linkdirs("$(projectdir)/thirdparty/Oodle/lib/Linux_x64") add_links("blake3") add_links("oo2corelinux64") - add_links("pthread") + add_syslinks("pthread") end add_packages( "vcpkg::spdlog", diff --git a/zenutil/xmake.lua b/zenutil/xmake.lua index e3cbec94e..b7f08afb9 100644 --- a/zenutil/xmake.lua +++ b/zenutil/xmake.lua @@ -5,6 +5,6 @@ target('zenutil') add_deps("zencore") add_packages("vcpkg::spdlog") - if is_os("linux") then - add_links("rt") + if is_plat("linux") then + add_syslinks("rt") end
\ No newline at end of file |