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 /zenutil | |
| 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
Diffstat (limited to 'zenutil')
| -rw-r--r-- | zenutil/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |