summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-01-06 22:36:10 +0800
committerruki <[email protected]>2026-01-09 17:59:03 +0800
commit60fcc1c6c008d17a5fd0fcf39ba5d9ed3a7c139e (patch)
tree6b7b504ec966c41e24b263c269a0a87792b28a71
parent05e58e9802b133ca6829031950279a871a394cbd (diff)
fix load packages
-rw-r--r--xmake/modules/private/action/require/impl/package.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua
index 842a6cd95..eae010012 100644
--- a/xmake/modules/private/action/require/impl/package.lua
+++ b/xmake/modules/private/action/require/impl/package.lua
@@ -1025,14 +1025,6 @@ function _load_package(packagename, requireinfo, opt)
-- do load
package:_load()
- -- load all components
- for _, component in pairs(package:components()) do
- component:_load()
- end
-
- -- load environments from the manifest to enable the environments of on_install()
- package:envs_load()
-
-- check api
check_api(package, {load = true})