diff options
Diffstat (limited to 'xmake/rules/c++/modules')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/clang/builder.lua | 4 | ||||
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/msvc/builder.lua | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang/builder.lua b/xmake/rules/c++/modules/modules_support/clang/builder.lua index 054198683..0e51bd93e 100644 --- a/xmake/rules/c++/modules/modules_support/clang/builder.lua +++ b/xmake/rules/c++/modules/modules_support/clang/builder.lua @@ -89,9 +89,9 @@ function _compile(target, flags, cppfile) if not dryrun then -- do compile if msvc then - assert(os.execv(compinst:program(), flags, {envs = msvc:runenvs()})) + assert(os.iorunv(compinst:program(), flags, {envs = msvc:runenvs()})) else - assert(os.execv(compinst:program(), flags)) + assert(os.iorunv(compinst:program(), flags)) end end end diff --git a/xmake/rules/c++/modules/modules_support/msvc/builder.lua b/xmake/rules/c++/modules/modules_support/msvc/builder.lua index d9c581099..0f4f9b735 100644 --- a/xmake/rules/c++/modules/modules_support/msvc/builder.lua +++ b/xmake/rules/c++/modules/modules_support/msvc/builder.lua @@ -86,7 +86,7 @@ function _compile(target, flags, sourcefile) if not dryrun then -- do compile - assert(os.execv(compinst:program(), flags, {envs = msvc:runenvs()})) + assert(os.iorunv(compinst:program(), flags, {envs = msvc:runenvs()})) end end |
