summaryrefslogtreecommitdiff
path: root/xmake/rules/lua/native-objects/xmake.lua
diff options
context:
space:
mode:
authorWu, Zhenyu <[email protected]>2025-01-05 13:40:24 +0800
committerWu, Zhenyu <[email protected]>2025-01-05 13:46:52 +0800
commitb696eaa86f555ceb171acad8f0261d176073f0fe (patch)
tree00df3bb4562de5b844a1f3366229bb5402c1ed71 /xmake/rules/lua/native-objects/xmake.lua
parent90c611a8ff57e2d5fd271943b5bb4f3b78eb8026 (diff)
Fix program name of lua.native-objects rule
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)