diff options
| author | ruki <[email protected]> | 2025-01-14 10:04:52 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-01-14 10:04:52 +0800 |
| commit | 19f7c630c426afe2fa4ce85ba333b38780a6483c (patch) | |
| tree | 2f60506d07ae5bb23a40005318eda11a91d3f906 | |
| parent | 23695b4c89c6c50f1c038ab6062710f427c9dae2 (diff) | |
| parent | 49bde005a0d99007fe4e68672ef63a482d3b24ee (diff) | |
Merge pull request #6076 from Freed-Wu/nodejs
Change installdir name from release/debug to Release/Debug for bindings
| -rw-r--r-- | xmake/rules/nodejs/module/xmake.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/rules/nodejs/module/xmake.lua b/xmake/rules/nodejs/module/xmake.lua index 878429483..aaa27160e 100644 --- a/xmake/rules/nodejs/module/xmake.lua +++ b/xmake/rules/nodejs/module/xmake.lua @@ -69,7 +69,8 @@ rule("nodejs.module") target:set("kind", "shared") end local moduledir = path.directory((target:name():gsub('%.', '/'))) - local installdir = path.join("build", get_config("mode")) + local mode = get_config("mode") + local installdir = path.join("build", mode:sub(1, 1):upper() .. mode:sub(2)) import("target.action.install")(target, { installdir = installdir, libdir = moduledir, |
