Skip to content

Commit

Permalink
fix object deps #4887
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Mar 29, 2024
1 parent 6a6c19b commit 186edc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/core/project/target.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,7 @@ function _instance:objectfiles()
table.join2(_objectfiles, t:objectfiles())
local _plaindeps = t:get("deps")
if _plaindeps then
for _, depname in ipairs(_plaindeps) do
for _, depname in ipairs(table.wrap(_plaindeps)) do
local dep = t:dep(depname)
if dep and dep:is_object() then
table.join2(_objectfiles, _get_all_objectfiles_of_object_dep(dep))
Expand Down

0 comments on commit 186edc9

Please sign in to comment.