summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-03-01 00:02:50 +0800
committerruki <[email protected]>2022-03-01 00:02:50 +0800
commit2bad6855143f0afbc179688b55cbb695c229165a (patch)
tree35d019d7593251a9f06e99c0c42ab52f5abcdd86
parent45c72b4a2a1a2d02558442a24ccbc3d37ec44a75 (diff)
fix xrepo remove
-rw-r--r--xmake/modules/private/xrepo/action/remove.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/xrepo/action/remove.lua b/xmake/modules/private/xrepo/action/remove.lua
index 1f1f24276..122eb0ba9 100644
--- a/xmake/modules/private/xrepo/action/remove.lua
+++ b/xmake/modules/private/xrepo/action/remove.lua
@@ -116,7 +116,7 @@ function _remove_packages(packages)
end
-- do configure first
- local config_argv = {"f", "-c"}
+ local config_argv = {"f", "-c", "--require=n"}
if option.get("verbose") then
table.insert(config_argv, "-v")
end