summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/make.lua
diff options
context:
space:
mode:
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 af5f977fa..cbc58c9e2 100644
--- a/xmake/modules/package/tools/make.lua
+++ b/xmake/modules/package/tools/make.lua
@@ -100,7 +100,7 @@ function make(package, argv, opt)
end
end
assert(program, "make not found!")
- os.vrunv(program, argv, {envs = runenvs})
+ os.vrunv(program, argv, {envs = runenvs, curdir = opt.curdir})
end
-- build package