From 91847c92a4da59fcb1efe843e8c9ee1bc4c987df Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 6 Jun 2023 23:05:08 +0800 Subject: fix tools.make --- xmake/modules/package/tools/make.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1