From a292b01553d065d1ef7099fffb1cfd394ca12d2c Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 20 Feb 2025 00:54:33 +0800 Subject: improve to find kotlinc-native --- xmake/modules/detect/tools/find_kotlinc_native.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/modules/detect/tools/find_kotlinc_native.lua b/xmake/modules/detect/tools/find_kotlinc_native.lua index 13f8cf53f..c383a40d2 100644 --- a/xmake/modules/detect/tools/find_kotlinc_native.lua +++ b/xmake/modules/detect/tools/find_kotlinc_native.lua @@ -40,7 +40,7 @@ function main(opt) opt.check = opt.check or "-version" opt.command = opt.command or "-version" - local program = find_program(opt.program or ("kotlinc_native" .. (is_host("windows") and ".bat" or "")), opt) + local program = find_program(opt.program or ("kotlinc-native" .. (is_host("windows") and ".bat" or "")), opt) local version = nil if program and opt and opt.version then version = find_programver(program, opt) -- cgit v1.3.1