summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/trybuild/autotools.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/private/action/trybuild/autotools.lua')
-rw-r--r--xmake/modules/private/action/trybuild/autotools.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/trybuild/autotools.lua b/xmake/modules/private/action/trybuild/autotools.lua
index 5c08c6ae0..bf4c30709 100644
--- a/xmake/modules/private/action/trybuild/autotools.lua
+++ b/xmake/modules/private/action/trybuild/autotools.lua
@@ -39,7 +39,7 @@ end
function _get_buildenv(key)
local value = config.get(key)
if value == nil then
- value = platform.get(key, config.plat())
+ value = platform.toolconfig(key, config.plat())
end
if value == nil then
value = platform.tool(key, config.plat())