summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/make.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-06-06 23:05:08 +0800
committerruki <[email protected]>2023-06-06 23:05:08 +0800
commit91847c92a4da59fcb1efe843e8c9ee1bc4c987df (patch)
tree57fa2b6bc99de061e52e94fa9fbe65c3a29f8032 /xmake/modules/package/tools/make.lua
parent0dbe946d8276769c2033a629351579893cd96c4f (diff)
fix tools.make
Diffstat (limited to 'xmake/modules/package/tools/make.lua')
-rw-r--r--xmake/modules/package/tools/make.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/make.lua b/xmake/modules/package/tools/make.lua
index 8f0208e09..694a3a824 100644
--- a/xmake/modules/package/tools/make.lua
+++ b/xmake/modules/package/tools/make.lua
@@ -108,7 +108,7 @@ function make(package, argv, opt)
end
end
assert(program, "make not found!")
- os.vrunv(program, argv, {envs = runenvs, curdir = opt.curdir})
+ os.vrunv(program, argv or {}, {envs = runenvs, curdir = opt.curdir})
end
-- build package