summaryrefslogtreecommitdiff
path: root/xmake/actions/config/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-08 11:56:37 +0800
committerruki <[email protected]>2022-10-08 11:56:37 +0800
commitae84c24d057752b7d3fe2101020e97e697fdd70d (patch)
tree6b4ff0bf55ca59afc1ffc658f394b5c9615eb94b /xmake/actions/config/main.lua
parentf49f2916627c39a5656417190efd94a0ec690388 (diff)
add some comments for package rule
Diffstat (limited to 'xmake/actions/config/main.lua')
-rw-r--r--xmake/actions/config/main.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua
index eb51cb4dc..c8705d945 100644
--- a/xmake/actions/config/main.lua
+++ b/xmake/actions/config/main.lua
@@ -206,6 +206,9 @@ function _load_package_rules_for_target(target)
local r = pkginfo:rule(rulename)
if r then
target:rule_add(r)
+ for _, dep in pairs(r:deps()) do
+ target:rule_add(dep)
+ end
end
end
end