summaryrefslogtreecommitdiff
path: root/xmake/actions/require/impl/package.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/actions/require/impl/package.lua')
-rw-r--r--xmake/actions/require/impl/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua
index b43e19280..10d71974f 100644
--- a/xmake/actions/require/impl/package.lua
+++ b/xmake/actions/require/impl/package.lua
@@ -362,7 +362,7 @@ function _load_packages(requires, opt)
if package then
-- load dependent packages and save them first of this package
- if not package._DEPS then
+ if not package._DEPS and not option.get("shallow") then
local deps = package:get("deps")
if deps and opt.nodeps ~= true then
local packagedeps = {}