summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/macro/macros/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/macro/macros/package.lua b/xmake/plugins/macro/macros/package.lua
index 2b9ce8d6b..bcdbffc27 100644
--- a/xmake/plugins/macro/macros/package.lua
+++ b/xmake/plugins/macro/macros/package.lua
@@ -56,7 +56,7 @@ function main(argv)
for _, arch in ipairs(archs) do
local argv = {"f", "-cy", "-p", plat, "-a", arch}
if args.config then
- table.insert(argv, args.config)
+ table.join2(argv, os.argv(args.config))
end
if option.get("verbose") then
table.insert(argv, "-v")