diff options
| author | ruki <[email protected]> | 2021-08-30 22:38:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-08-30 22:38:25 +0800 |
| commit | ca93ecfabf683d7f84d7688e0997b22d0e5c17a6 (patch) | |
| tree | 96cd4bf7a938d4aaf6e92f6c5052ffd1a53ed724 | |
| parent | ce0e9cb8ba249b316809cbcec22572bc29825669 (diff) | |
improve package deps
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 2 |
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 b26eaaf6d..4030bbfb9 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -806,7 +806,7 @@ function _load_packages(requires, opt) package._DEPS = packagedeps package._PLAINDEPS = plaindeps package._ORDERDEPS = table.unique(_sort_packagedeps(package)) - package._LINKDEPS = table.unique(_sort_packagedeps(package, true)) + package._LINKDEPS = table.reverse_unique(_sort_packagedeps(package, true)) end end |
