diff options
| author | ruki <[email protected]> | 2024-12-03 09:28:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-12-03 09:28:12 +0800 |
| commit | 46ec7f87125cd7824c9ad7b1256693b575f0c576 (patch) | |
| tree | 5a8f950dd602f81e72df6e2e4ca4a633c0b57174 | |
| parent | 3a7e44a68f05137631141d4b2b8f6a5e2c5641a2 (diff) | |
fix winsdk
| -rw-r--r-- | xmake/rules/winsdk/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/winsdk/xmake.lua b/xmake/rules/winsdk/xmake.lua index 1c049731a..0544abb86 100644 --- a/xmake/rules/winsdk/xmake.lua +++ b/xmake/rules/winsdk/xmake.lua @@ -46,7 +46,7 @@ rule("win.sdk.application") end end if not subsystem then - target:add("ldflags", "-subsystem:windows", {force = true, tools == "link"}) + target:add("ldflags", "-subsystem:windows", {force = true, tools = {"link"}}) end end |
