summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-02-20 00:54:33 +0800
committerruki <[email protected]>2025-02-20 00:54:33 +0800
commita292b01553d065d1ef7099fffb1cfd394ca12d2c (patch)
tree5210467251810a04564db46102a23dd083087985
parenteaf73273f3831b115eae0aa590cfaacef5885afd (diff)
improve to find kotlinc-native
-rw-r--r--xmake/modules/detect/tools/find_kotlinc_native.lua2
1 files changed, 1 insertions, 1 deletions
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)