summaryrefslogtreecommitdiff
path: root/core/src/cli
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-02-23 18:01:38 +0300
committerGitHub <[email protected]>2026-02-23 18:01:38 +0300
commit3cf862ee32ea653871d4069b56b619a8cf477e38 (patch)
tree7ce15c80dc1fa5cbb894e797f0871fd0065e31f1 /core/src/cli
parent8ed3f12c86b74cb46e110e56c2ed20d88b242cee (diff)
parentea307e0b88527bc61864766c16dfd346470b2d80 (diff)
Merge branch 'xmake-io:dev' into em
Diffstat (limited to 'core/src/cli')
-rw-r--r--core/src/cli/xmake.lua2
-rwxr-xr-xcore/src/cli/xmake.sh2
2 files changed, 2 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/src/cli/xmake.sh b/core/src/cli/xmake.sh
index 12fffe1af..6ae33ef16 100755
--- a/core/src/cli/xmake.sh
+++ b/core/src/cli/xmake.sh
@@ -19,7 +19,7 @@ target "cli"
if is_plat "macosx" && is_config "runtime" "luajit"; then
add_ldflags "-all_load" "-pagezero_size 10000" "-image_base 100000000"
elif is_plat "mingw"; then
- add_ldflags "-static-libgcc"
+ add_ldflags "-static-libgcc" "-lwintrust" "-lcrypt32"
fi
# add install files