Skip to content

Commit 1c38e75

Browse files
authored
Update xmake.lua
1 parent c215a0e commit 1c38e75

File tree

1 file changed

+1
-1
lines changed
  • xmake/rules/platform/windows/subsystem

1 file changed

+1
-1
lines changed

xmake/rules/platform/windows/subsystem/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ rule("platform.windows.subsystem")
3838
end
3939
assert(valid, "Invalid subsystem " .. subsystem)
4040

41-
if target:has_tool("ld", "clang", "clangxx", "clang-cl") then
41+
if target:has_tool("ld", "clang", "clangxx", "clang_cl") then
4242
target:add("ldflags", "-Wl,-subsystem:" .. subsystem, { force = true })
4343
elseif target:has_tool("ld", "link", "lld-link") then
4444
target:add("ldflags", "/SUBSYSTEM:" .. upper(subsystem), { force = true })

0 commit comments

Comments
 (0)