diff options
| author | ruki <[email protected]> | 2021-06-30 00:51:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-06-30 00:51:28 +0800 |
| commit | 2e9219f0892b88bbe4bbcc1907385b71fca58024 (patch) | |
| tree | f5c39dcc91744d8aba7e5ded87b6bc24d9c70fd1 /xmake/modules/private/action/require/impl/install_packages.lua | |
| parent | 3be2aa8c6aa6bea890c7ab321628e3e8c0fd4850 (diff) | |
improve optional deps
Diffstat (limited to 'xmake/modules/private/action/require/impl/install_packages.lua')
| -rw-r--r-- | xmake/modules/private/action/require/impl/install_packages.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/install_packages.lua b/xmake/modules/private/action/require/impl/install_packages.lua index 8e2c50725..fb7647861 100644 --- a/xmake/modules/private/action/require/impl/install_packages.lua +++ b/xmake/modules/private/action/require/impl/install_packages.lua @@ -530,7 +530,7 @@ function main(requires, opt) comax = (option.get("verbose") or option.get("diagnosis")) and 1 or 4, isolate = true}) - -- register all required root packages to local cache + -- register all installed root packages to local cache register_packages(packages) -- filter packages @@ -594,6 +594,10 @@ function main(requires, opt) -- disable other packages in same group _disable_other_packages_in_group(packages) + + -- re-register and refresh all root packages to local cache, + -- because there may be some missing optional dependencies reinstalled + register_packages(packages) return packages end |
