diff options
| author | binLep <[email protected]> | 2025-05-13 22:19:37 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-13 22:19:37 +0800 |
| commit | bbd21f24a06d3e02396363fa8cf729310b0791b7 (patch) | |
| tree | 4afa3ddbc5ae2c66e16e84705e362561107ccca9 | |
| parent | 66084a5009bd7ecd2a71ca89a12a48282c2bdbe4 (diff) | |
fix upper in xmake.lua
| -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 82b1b45fc..9c64ec808 100644 --- a/xmake/rules/platform/windows/subsystem/xmake.lua +++ b/xmake/rules/platform/windows/subsystem/xmake.lua @@ -41,7 +41,7 @@ rule("platform.windows.subsystem") if target:has_tool("ld", "clang", "clangxx", "clang_cl") then target:add("ldflags", "-Wl,-subsystem:" .. subsystem, { force = true }) elseif target:has_tool("ld", "link", "lld-link") then - target:add("ldflags", "/SUBSYSTEM:" .. upper(subsystem), { force = true }) + target:add("ldflags", "/SUBSYSTEM:" .. string.upper(subsystem), { force = true }) elseif target:has_tool("ld", "gcc", "gxx") then target:add("ldflags", "-Wl,-m" .. subsystem, { force = true }) elseif target:has_tool("ld", "lld") then |
