Skip to content

Commit 8dd9b97

Browse files
authored
Merge pull request #6433 from binLep/dev
fix upper in xmake.lua
2 parents 66084a5 + 517632f commit 8dd9b97

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
@@ -41,7 +41,7 @@ rule("platform.windows.subsystem")
4141
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
44-
target:add("ldflags", "/SUBSYSTEM:" .. upper(subsystem), { force = true })
44+
target:add("ldflags", "/SUBSYSTEM:" .. subsystem:upper(), { force = true })
4545
elseif target:has_tool("ld", "gcc", "gxx") then
4646
target:add("ldflags", "-Wl,-m" .. subsystem, { force = true })
4747
elseif target:has_tool("ld", "lld") then

0 commit comments

Comments
 (0)