summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index b69b4f094..d47f0fc4e 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -492,7 +492,7 @@ function _instance:build_envs(lazy_loading)
setmetatable(build_envs, { __index = function (tbl, key)
local value = config.get(key)
if value == nil then
- value = platform.get(key, self:plat())
+ value = platform.toolconfig(key, self:plat())
end
if value == nil then
value = platform.tool(key, self:plat())