Skip to content

Commit

Permalink
Merge pull request #6076 from Freed-Wu/nodejs
Browse files Browse the repository at this point in the history
Change installdir name from release/debug to Release/Debug for bindings
  • Loading branch information
waruqi authored Jan 14, 2025
2 parents 23695b4 + 49bde00 commit 19f7c63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xmake/rules/nodejs/module/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 19f7c63

Please sign in to comment.