Skip to content

Commit

Permalink
improve package configs str
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Sep 23, 2024
1 parent feb7563 commit ac62c9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xmake/modules/private/action/require/impl/package.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ac62c9c

Please sign in to comment.