diff options
Diffstat (limited to 'xmake/core')
| -rw-r--r-- | xmake/core/base/os.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index ee0404971..c20b8ac25 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -907,6 +907,9 @@ function os.getenvs() local p = line:find('=', 1, true) if p then local key = line:sub(1, p - 1):trim() + if os.host() == "windows" then + key = key:upper() + end local values = line:sub(p + 1):trim() if #key > 0 then envs[key] = values |
