summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-02-15 20:32:34 +0300
committerSaikari <[email protected]>2026-02-15 20:45:02 +0300
commit1aa5abae9c4b86715c48ac5137d6411c6517e283 (patch)
tree57bc7fdca4289427beb5f62b70bd182ab041061e
parent1e15fe7013857315471598237635198d2e1c0c55 (diff)
retry
-rw-r--r--core/src/cli/xmake.lua2
-rw-r--r--core/xmake.lua2
-rw-r--r--xmake/core/sandbox/modules/winos.lua1
3 files changed, 3 insertions, 2 deletions
diff --git a/core/src/cli/xmake.lua b/core/src/cli/xmake.lua
index 2e4b1aea9..98e86b128 100644
--- a/core/src/cli/xmake.lua
+++ b/core/src/cli/xmake.lua
@@ -29,7 +29,7 @@ target("cli")
-- add links
if is_plat("windows") then
- add_syslinks("ws2_32", "advapi32", "shell32")
+ add_syslinks("ws2_32", "advapi32", "shell32", "wintrust", "crypt32")
add_ldflags("/export:malloc", "/export:free", "/export:memmove")
elseif is_plat("android") then
add_syslinks("m", "c")
diff --git a/core/xmake.lua b/core/xmake.lua
index f9e387ad5..114f8bbdb 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -41,7 +41,7 @@ end]]
-- for the windows platform (msvc)
if is_plat("windows") then
set_runtimes("MT")
- add_links("kernel32", "user32", "gdi32")
+ add_links("kernel32", "user32", "gdi32", "wintrust", "crypt32")
end
-- for mode coverage
diff --git a/xmake/core/sandbox/modules/winos.lua b/xmake/core/sandbox/modules/winos.lua
index 2ed01245d..65603897b 100644
--- a/xmake/core/sandbox/modules/winos.lua
+++ b/xmake/core/sandbox/modules/winos.lua
@@ -34,6 +34,7 @@ sandbox_winos.console_output_cp = winos.console_output_cp
sandbox_winos.logical_drives = winos.logical_drives
sandbox_winos.cmdargv = winos.cmdargv
sandbox_winos.processes = winos.processes
+sandbox_winos.file_signature = winos.file_signature
sandbox_winos.inherit_handles_safely = winos.inherit_handles_safely
sandbox_winos.set_error_mode = winos.set_error_mode