diff options
| author | ruki <[email protected]> | 2021-02-14 10:24:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-02-14 10:24:20 +0800 |
| commit | 047f5b57159171467a7929f1743d4391f48288ea (patch) | |
| tree | 6d5e4978bb4c9db76ff05de383dfec091c6cfacb | |
| parent | 6ba5ae3834b4e2e9efb0abb44576b669859abf26 (diff) | |
fix register packages
| -rw-r--r-- | xmake/modules/private/action/require/impl/install_packages.lua | 2 |
1 files changed, 1 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 ab7556cc4..22738e5f4 100644 --- a/xmake/modules/private/action/require/impl/install_packages.lua +++ b/xmake/modules/private/action/require/impl/install_packages.lua @@ -249,7 +249,7 @@ function _install_packages(packages_install, packages_download) -- @note we need to register the package in time, -- because other packages may be used, e.g. toolchain/packages if not instance:parents() then - register_packages(instance) + register_packages({instance}) end -- mark this group as 'installed' or 'failed' |
