Skip to content

Commit

Permalink
pass linkorders for packages
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Oct 26, 2023
1 parent ad3b99b commit d867bea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions xmake/core/package/package.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1736,6 +1736,7 @@ function _instance:find_package(name, opt)
mode = self:mode(),
plat = self:plat(),
arch = self:arch(),
linkorders = self:get("linkorders"),
configs = table.join(self:configs(), opt.configs),
components = self:components_orderlist(),
components_extsources = opt.components_extsources,
Expand Down
1 change: 1 addition & 0 deletions xmake/modules/package/manager/xmake/find_package.lua
Original file line number Diff line number Diff line change
Expand Up @@ -353,5 +353,6 @@ function main(name, opt)
if not result and opt.packagedirs then
result = _find_package_from_packagedirs(name, opt)
end

return result
end

0 comments on commit d867bea

Please sign in to comment.