diff options
| author | ruki <[email protected]> | 2022-09-06 00:50:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-09-06 00:50:38 +0800 |
| commit | 10d142571fc619051f83d116393ab86a29fcaee2 (patch) | |
| tree | a62c2977ced78cd28cc2b96f44339fb940b35a6d /xmake/modules/private/action/require/impl/package.lua | |
| parent | 2a8af8db1d8b6e05f2a751a3320a1c45596ac0e5 (diff) | |
force to reinstall package
Diffstat (limited to 'xmake/modules/private/action/require/impl/package.lua')
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 46bc16fed..a506a66c0 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -1018,6 +1018,9 @@ function _compatible_with_previous_linkdeps(package, opt) if not is_compatible and #compatible_tips > 0 then package:data_set("linkdeps.compatible_tips", compatible_tips) end + if not is_compatible then + package:data_set("force_reinstall", true) + end return is_compatible end |
