diff options
| author | ruki <[email protected]> | 2024-09-21 23:52:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-09-23 09:43:53 +0800 |
| commit | ac62c9c9ed4ad7eff47b90c56fabdc6f6df6c492 (patch) | |
| tree | 148a10b83bb71ff3555a40e8d720b43557f246bd /xmake/modules/private/action/require/impl/package.lua | |
| parent | feb7563b4ea3712079063c3a81a13e189f49ac75 (diff) | |
improve package configs str
Diffstat (limited to 'xmake/modules/private/action/require/impl/package.lua')
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 87c91aedd..072b7e9c4 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -1302,6 +1302,9 @@ function get_configs_str(package) if package:is_private() then table.insert(configs, "private") end + if package:is_host() then + table.insert(configs, "host") + end local requireinfo = package:requireinfo() if requireinfo then if requireinfo.plat then @@ -1310,9 +1313,6 @@ function get_configs_str(package) if requireinfo.arch then table.insert(configs, requireinfo.arch) end - if requireinfo.host then - table.insert(configs, "host") - end if requireinfo.kind then table.insert(configs, requireinfo.kind) end |
