summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-02 23:13:36 +0800
committerruki <[email protected]>2024-04-02 23:13:36 +0800
commit180cd63712a9b0474ca6831f139a9f94a35709f7 (patch)
treef16c85a26270692376f8f6a0acebb79076da7d7a
parent79d4b000d99ed3e50acffbfdd0b6d25a852c2735 (diff)
pass -y to build modules
-rw-r--r--xmake/core/sandbox/modules/import/core/sandbox/module.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/core/sandbox/module.lua b/xmake/core/sandbox/modules/import/core/sandbox/module.lua
index ab2ea2f89..889cc6e95 100644
--- a/xmake/core/sandbox/modules/import/core/sandbox/module.lua
+++ b/xmake/core/sandbox/modules/import/core/sandbox/module.lua
@@ -197,7 +197,7 @@ function core_sandbox_module._build_module(module_fullpath)
buildir = path.join(projectdir, "cache", "modules", modulehash)
end
local envs = {XMAKE_CONFIGDIR = buildir}
- local argv = {"config", "-P", projectdir, "-o", buildir}
+ local argv = {"config", "-P", projectdir, "-o", buildir, "-y"}
os.execv(os.programfile(), argv, {envs = envs, curdir = projectdir})
argv = {"-P", projectdir}
os.execv(os.programfile(), argv, {envs = envs, curdir = projectdir})