From a9444670aa1c69343397649892dbebc4acb588c7 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 28 Jul 2023 23:48:52 +0800 Subject: [PATCH] update cpptrace --- packages/c/cpptrace/xmake.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/c/cpptrace/xmake.lua b/packages/c/cpptrace/xmake.lua index 6262d5b36c1..d464b68f691 100644 --- a/packages/c/cpptrace/xmake.lua +++ b/packages/c/cpptrace/xmake.lua @@ -10,6 +10,10 @@ package("cpptrace") add_deps("cmake") + if is_plat("windows", "mingw") then + add_syslinks("dbghelp") + end + on_install(function (package) local configs = {} table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))