summaryrefslogtreecommitdiff
path: root/xmake/rules/lua/native-objects/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/lua/native-objects/xmake.lua')
-rw-r--r--xmake/rules/lua/native-objects/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/lua/native-objects/xmake.lua b/xmake/rules/lua/native-objects/xmake.lua
index 6ca3cf1b8..7954310dd 100644
--- a/xmake/rules/lua/native-objects/xmake.lua
+++ b/xmake/rules/lua/native-objects/xmake.lua
@@ -39,7 +39,7 @@ rule("lua.native-objects")
-- add commands
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.nobj.lua %s", sourcefile)
batchcmds:mkdir(path.directory(sourcefile_c))
- batchcmds:vrunv("native_objects.lua",
+ batchcmds:vrunv("native_objects",
{ "-outpath", path(dirname), "-gen", "lua", path(sourcefile) })
-- remember to add_rules("c") if you need
batchcmds:compile(sourcefile_c, objectfile)