diff options
| author | Martin Ridgers <[email protected]> | 2021-11-12 08:49:46 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-11-12 08:57:06 +0100 |
| commit | 24f2bbd24840c1ac70804c2324fc05cd77e344ea (patch) | |
| tree | 2c87aeb6e67686486ebc783fb49cdd07e7e26bea | |
| parent | Added Curl's vcpkg:openssl dependency to xmake scripts (diff) | |
| download | zen-24f2bbd24840c1ac70804c2324fc05cd77e344ea.tar.xz zen-24f2bbd24840c1ac70804c2324fc05cd77e344ea.zip | |
Use add_syslinks() instead of add_link() for system libraries
| -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 |