aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-12 08:50:37 +0100
committerMartin Ridgers <[email protected]>2021-11-12 08:57:18 +0100
commit3b0d46b49b8677de5c5379093b711cdd1c815b57 (patch)
treea70b831302f0da3fbde446eee41386476d8c34f8
parentUse add_syslinks() instead of add_link() for system libraries (diff)
downloadzen-3b0d46b49b8677de5c5379093b711cdd1c815b57.tar.xz
zen-3b0d46b49b8677de5c5379093b711cdd1c815b57.zip
Fixed dlopen/close() unresolved symbols
-rw-r--r--zenserver/xmake.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/zenserver/xmake.lua b/zenserver/xmake.lua
index fc5dca88a..b29d2cef3 100644
--- a/zenserver/xmake.lua
+++ b/zenserver/xmake.lua
@@ -30,6 +30,10 @@ target("zenserver")
"vcpkg::http-parser"
)
+ if is_plat("linux") then
+ add_syslinks("dl")
+ end
+
add_packages(
"vcpkg::cxxopts",
"vcpkg::mimalloc")