diff options
| author | star9029 <[email protected]> | 2025-12-21 17:01:53 +0800 |
|---|---|---|
| committer | star9029 <[email protected]> | 2025-12-21 17:01:53 +0800 |
| commit | 3c6c162da56f3fe7b9b99dd3f1194e0a545c68f7 (patch) | |
| tree | 5135a3fdd83e3b925ff6f1ae3cdc509993994e9b /xmake/rules/platform | |
| parent | d3a3a4d45e92a4b6af0438e0df81dce9d0bd4dc4 (diff) | |
fix has_tool lld-link
Diffstat (limited to 'xmake/rules/platform')
| -rw-r--r-- | xmake/rules/platform/windows/subsystem/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/platform/windows/subsystem/xmake.lua b/xmake/rules/platform/windows/subsystem/xmake.lua index 87204e64f..b4985a3e1 100644 --- a/xmake/rules/platform/windows/subsystem/xmake.lua +++ b/xmake/rules/platform/windows/subsystem/xmake.lua @@ -40,7 +40,7 @@ rule("platform.windows.subsystem") if target:has_tool("ld", "clang", "clangxx", "clang_cl") then target:add("ldflags", {"-Xlinker", "-subsystem:" .. subsystem}, {force = true, expand = false}) - elseif target:has_tool("ld", "link", "lld-link") then + elseif target:has_tool("ld", "link", "lld_link") then target:add("ldflags", "/SUBSYSTEM:" .. subsystem:upper(), {force = true}) elseif target:has_tool("ld", "gcc", "gxx") then target:add("ldflags", "-m" .. subsystem, {force = true}) |
