diff options
| author | ruki <[email protected]> | 2025-01-12 21:34:47 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-01-12 21:34:47 +0800 |
| commit | 57202a09999c4d794b937d28d7d22f67f700342a (patch) | |
| tree | 97c7c6e886a601e2b5b9e82b1e2f9d7beaa4b29c /xmake/rules/lua/native-objects | |
| parent | 543fa337184df181eae18b35eb8f80c125ab8a84 (diff) | |
| parent | af01d22ccda93ac33fde00115ba2282bb76f4fa0 (diff) | |
Merge pull request #6060 from Freed-Wu/usage
Update usage of rule lua.native-objects, nodejs.module
Diffstat (limited to 'xmake/rules/lua/native-objects')
| -rw-r--r-- | xmake/rules/lua/native-objects/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/lua/native-objects/xmake.lua b/xmake/rules/lua/native-objects/xmake.lua index 7954310dd..74ce19b38 100644 --- a/xmake/rules/lua/native-objects/xmake.lua +++ b/xmake/rules/lua/native-objects/xmake.lua @@ -22,14 +22,14 @@ -- -- target("foo") -- do --- add_rules("luarocks.module", "lua-native-objects", "c") +-- add_rules("lua.module", "lua.native-objects", "c") -- add_files("*.nobj.lua") -- end rule("lua.native-objects") set_extensions(".nobj.lua") before_buildcmd_file(function(target, batchcmds, sourcefile, opt) -- get c source file for lua.native-objects - local dirname = path.join(target:autogendir(), "rules", "lua-native-objects") + local dirname = path.join(target:autogendir(), "rules", "lua", "native-objects") local sourcefile_c = path.join(dirname, path.basename(sourcefile) .. ".c") -- add objectfile |
