summaryrefslogtreecommitdiff
path: root/xmake/modules
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/modules
parent5f9f4298aa66c0c64e6e8d48a191ef01bf746e74 (diff)
Fix buildhash check with transient deps
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/private/action/require/impl/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua
index cf0df2cea..a06698a02 100644
--- a/xmake/modules/private/action/require/impl/package.lua
+++ b/xmake/modules/private/action/require/impl/package.lua
@@ -1070,7 +1070,7 @@ function _compatible_with_previous_librarydeps(package, opt)
if manifest and manifest.librarydeps then
local deps = manifest.deps or {}
for _, depname in ipairs(manifest.librarydeps) do
- if strict_compatibility or (package:dep(depname) and package:dep(depname):policy("package.strict_compatibility")) then
+ if strict_compatibility or (package:dep(depname) and package:dep(depname):policy("package.strict_compatibility")) or depinfos_curr[depname] then
local depinfo = deps[depname]
if depinfo and depinfo.buildhash then
depinfos_prev[depname] = depinfo