From aa1c253e0c48da4346ef9714fa76d70d360d0f2c Mon Sep 17 00:00:00 2001 From: KkemChen Date: Tue, 19 Sep 2023 16:10:18 +0800 Subject: [PATCH] spdlog: fix installation test on Linux (#2617) --- packages/s/spdlog/xmake.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/s/spdlog/xmake.lua b/packages/s/spdlog/xmake.lua index 136d00e31..c099d4149 100644 --- a/packages/s/spdlog/xmake.lua +++ b/packages/s/spdlog/xmake.lua @@ -30,6 +30,8 @@ package("spdlog") if is_plat("windows") then add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true}) add_configs("wchar", {description = "Support wchar api.", default = false, type = "boolean"}) + elseif is_plat("linux", "bsd") then + add_syslinks("pthread") end on_load(function (package)