diff options
| author | ruki <[email protected]> | 2024-03-29 23:02:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-29 23:02:55 +0800 |
| commit | 186edc901f87639bfebc8e067deaf2e476a5b53c (patch) | |
| tree | d7bb567f0e725e5fec062000a6a52aca2fddcb60 | |
| parent | 6a6c19b86491a5830b2051d039bb5d879494c9a8 (diff) | |
fix object deps #4887
| -rw-r--r-- | xmake/core/project/target.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index 8757c63e2..fb48df6f8 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -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)) |
