summaryrefslogtreecommitdiff
path: root/xmake/core/package
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2023-11-21 18:48:56 +0100
committerGitHub <[email protected]>2023-11-21 18:48:56 +0100
commit61ce13ae09eaaa4bd1f7e8826858495752d7646c (patch)
tree0ea2a0959ae70a0febb70ae12ecf07a5202459a5 /xmake/core/package
parent5f9f4298aa66c0c64e6e8d48a191ef01bf746e74 (diff)
Fix buildhash check with transient deps
Diffstat (limited to 'xmake/core/package')
-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()
}