summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/package/tools/xmake.lua')
-rw-r--r--xmake/modules/package/tools/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/xmake.lua b/xmake/modules/package/tools/xmake.lua
index 17cf48a2e..b572c2fec 100644
--- a/xmake/modules/package/tools/xmake.lua
+++ b/xmake/modules/package/tools/xmake.lua
@@ -543,7 +543,7 @@ function install(package, configs, opt)
os.vrunv(os.programfile(), argv, {envs = envs, curdir = opt.curdir})
-- do install
- argv = {"install", "-y", "--nopkgs", "-o", package:installdir()}
+ argv = {"install", "-y", "--packages=n", "-o", package:installdir()}
_set_builtin_argv(package, argv)
local targets = table.wrap(opt.targets or opt.target)
if #targets ~= 0 then