diff options
| author | ruki <[email protected]> | 2026-01-15 23:24:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-01-15 23:24:02 +0800 |
| commit | 59915ecb57087fa2b99edeea52ccfc4ed89804fe (patch) | |
| tree | f9ed35ebe2e5c2a6048db05eab0677ec53fc6768 /xmake/modules/lib | |
| parent | b861a8bae087e0324ed77133b3e283a2c8dd1cc8 (diff) | |
fix has_flags
Diffstat (limited to 'xmake/modules/lib')
| -rw-r--r-- | xmake/modules/lib/detect/has_flags.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmake/modules/lib/detect/has_flags.lua b/xmake/modules/lib/detect/has_flags.lua index 36409ef84..8ac8e3385 100644 --- a/xmake/modules/lib/detect/has_flags.lua +++ b/xmake/modules/lib/detect/has_flags.lua @@ -138,9 +138,7 @@ function main(name, flags, opt) -- trace if option.get("verbose") or option.get("diagnosis") or opt.verbose then - cprintf("${dim}checking for flags (") - io.write(opt.flagskey) - cprint("${dim}) ... %s", result and "${color.success}${text.success}" or "${color.nothing}${text.nothing}") + cprint("${dim}checking for flags (%s) ... %s", opt.flagskey, result and "${color.success}${text.success}" or "${color.nothing}${text.nothing}") if option.get("diagnosis") then cprint("${dim}> %s \"%s\"", path.filename(tool.program), table.concat(checkflags, "\" \"")) if errors and #tostring(errors) > 0 then |
