diff options
| -rw-r--r-- | xmake/modules/private/action/require/impl/install_packages.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/private/action/require/impl/install_packages.lua b/xmake/modules/private/action/require/impl/install_packages.lua index eed6fa0b7..0dc0e61ee 100644 --- a/xmake/modules/private/action/require/impl/install_packages.lua +++ b/xmake/modules/private/action/require/impl/install_packages.lua @@ -738,9 +738,9 @@ function _install_packages(requires, opt) -- exists unsupported packages? if #packages_unsupported > 0 then - cprint("${bright color.warning}note: ${clear}the following packages are unsupported on $(plat)/$(arch):") + cprint("${bright color.warning}note: ${clear}the following packages are unsupported:") for _, instance in ipairs(packages_unsupported) do - print(" -> %s %s", instance:displayname(), instance:version_str() or "") + cprint(" ${yellow}->${clear} %s %s ${dim}%s", instance:displayname(), instance:version_str() or "", package.get_configs_str(instance)) end has_errors = true end diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 18d4db592..87c91aedd 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -1311,7 +1311,7 @@ function get_configs_str(package) table.insert(configs, requireinfo.arch) end if requireinfo.host then - table.insert(configs, requireinfo.host) + table.insert(configs, "host") end if requireinfo.kind then table.insert(configs, requireinfo.kind) |
