We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c215a0e commit 1c38e75Copy full SHA for 1c38e75
xmake/rules/platform/windows/subsystem/xmake.lua
@@ -38,7 +38,7 @@ rule("platform.windows.subsystem")
38
end
39
assert(valid, "Invalid subsystem " .. subsystem)
40
41
- if target:has_tool("ld", "clang", "clangxx", "clang-cl") then
+ if target:has_tool("ld", "clang", "clangxx", "clang_cl") then
42
target:add("ldflags", "-Wl,-subsystem:" .. subsystem, { force = true })
43
elseif target:has_tool("ld", "link", "lld-link") then
44
target:add("ldflags", "/SUBSYSTEM:" .. upper(subsystem), { force = true })
0 commit comments