summaryrefslogtreecommitdiff
path: root/xmake/actions/package/remote/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/actions/package/remote/main.lua')
-rw-r--r--xmake/actions/package/remote/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/package/remote/main.lua b/xmake/actions/package/remote/main.lua
index f73126618..58c89b302 100644
--- a/xmake/actions/package/remote/main.lua
+++ b/xmake/actions/package/remote/main.lua
@@ -30,7 +30,7 @@ import("core.base.bit")
function _get_librarydeps(target)
local librarydeps = {}
for _, depname in ipairs(target:get("deps")) do
- local dep = project.target(depname)
+ local dep = project.target(depname, {namespace = target:namespace()})
if not ((target:is_binary() or target:is_shared()) and dep:is_static()) then
table.insert(librarydeps, dep:name():lower())
end