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.
2 parents 66084a5 + 517632f commit 8dd9b97Copy full SHA for 8dd9b97
xmake/rules/platform/windows/subsystem/xmake.lua
@@ -41,7 +41,7 @@ rule("platform.windows.subsystem")
41
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 })
+ target:add("ldflags", "/SUBSYSTEM:" .. subsystem:upper(), { force = true })
45
elseif target:has_tool("ld", "gcc", "gxx") then
46
target:add("ldflags", "-Wl,-m" .. subsystem, { force = true })
47
elseif target:has_tool("ld", "lld") then
0 commit comments