summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index db34aadc6..babea1717 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -899,10 +899,10 @@ function _instance:manifest_save()
end
-- save deps
- if self:deps() then
+ if self:librarydeps() then
manifest.deps = {}
- for name, dep in pairs(self:deps()) do
- manifest.deps[name] = {
+ for _, dep in ipairs(self:librarydeps()) do
+ manifest.deps[dep:name()] = {
version = dep:version_str(),
buildhash = dep:buildhash()
}