diff options
| author | ruki <[email protected]> | 2021-06-25 00:51:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-06-25 00:51:57 +0800 |
| commit | cfdd992044c10dce5c181a3b61e38021926c399a (patch) | |
| tree | 906505bac03103c0f594052be6d735b28ed9cf16 | |
| parent | 8301d69b636466b196f45c8f079d74a384c32b2c (diff) | |
pass build arg
| -rw-r--r-- | xmake/modules/private/xrepo/action/install.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/private/xrepo/action/install.lua b/xmake/modules/private/xrepo/action/install.lua index 019edf7d3..cfbd19b92 100644 --- a/xmake/modules/private/xrepo/action/install.lua +++ b/xmake/modules/private/xrepo/action/install.lua @@ -194,6 +194,9 @@ function _install_packages(packages) if option.get("shallow") then table.insert(require_argv, "--shallow") end + if option.get("build") then + table.insert(require_argv, "--build") + end local extra = {system = false} if mode == "debug" then extra.debug = true |
