diff options
Diffstat (limited to 'xmake/plugins/project/make/makefile.lua')
| -rw-r--r-- | xmake/plugins/project/make/makefile.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/plugins/project/make/makefile.lua b/xmake/plugins/project/make/makefile.lua index 7f2e4f62c..7d2559ea1 100644 --- a/xmake/plugins/project/make/makefile.lua +++ b/xmake/plugins/project/make/makefile.lua @@ -101,10 +101,7 @@ end function _get_program_from_target(target, toolkind) local program = target:get("toolchain." .. toolkind) if not program then - local tools = target:get("tools") -- TODO: deprecated - if tools then - program = tools[toolkind] - end + program, _ = target:tool(toolkind) end return program end |
