diff options
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index a954d4288..327ea2588 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -992,17 +992,15 @@ function _compatible_with_previous_librarydeps(package, opt) return true end - -- has been checked? - local compatible_checked = package:data("librarydeps.compatible_checked") - if compatible_checked then - return - end - -- check strict compatibility for librarydeps? local strict_compatibility = project.policy("package.librarydeps.strict_compatibility") if strict_compatibility == nil then strict_compatibility = package:policy("package.librarydeps.strict_compatibility") end + -- and we can disable it manually, @see https://github.com/xmake-io/xmake/pull/3738 + if strict_compatibility == false then + return true + end -- compute the buildhash for current librarydeps local depnames = hashset.new() |
