summaryrefslogtreecommitdiff
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-12-27 16:26:14 +0900
committerNobuyoshi Nakada <[email protected]>2024-12-27 16:26:14 +0900
commite109400748a62f142d0b1ca6957dab69ca411de1 ()
treed5a6494eea66c5348a0ac7ce20ffa5c87ff58bdd /ext/extmk.rb
parent3a2d1feb1e24569090061bfcab88e3a1ecc24750 (diff)
Win32: Fix sub make commands
`cmd.exe` built-in `cd` does not recognize slashes as path separators, replace to backslashes.
Notes: Merged: https://.com/ruby/ruby/pull/12481
-rwxr-xr-xext/extmk.rb6
1 files changed, 3 insertions, 3 deletions
@@ -817,9 +817,9 @@ begin
if $gnumake == "yes"
submake = "$(MAKE) -C $(@D)"
else
- submake = "cd $(@D) && "
- config_string("exec") {|str| submake << str << " "}
- submake << "$(MAKE)"
end
targets.each do |tgt|
exts.each do |d|