summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/package/tools/xmake.lua')
-rw-r--r--xmake/modules/package/tools/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/xmake.lua b/xmake/modules/package/tools/xmake.lua
index 25bc0f021..0f19c6a88 100644
--- a/xmake/modules/package/tools/xmake.lua
+++ b/xmake/modules/package/tools/xmake.lua
@@ -315,7 +315,7 @@ function _get_configs(package, configs, opt)
if shflags and #shflags > 0 then
table.insert(configs, "--shflags=" .. table.concat(shflags, ' '))
end
- local buildir = opt.buildir or package:buildir()
+ local buildir = opt.buildir or package:builddir()
if buildir then
table.insert(configs, "--buildir=" .. buildir)
end