summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/rules/winsdk/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/winsdk/xmake.lua b/xmake/rules/winsdk/xmake.lua
index b782c4f1f..3c7e6fa0f 100644
--- a/xmake/rules/winsdk/xmake.lua
+++ b/xmake/rules/winsdk/xmake.lua
@@ -49,7 +49,7 @@ rule("win.sdk.application")
end
end
if not subsystem then
- target:add("ldflags", "-subsystem:windows", {force = true})
+ target:add("ldflags", "-subsystem:windows", {force = true, tools = "link"})
end
end