summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-05-17 15:42:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-05-17 15:42:21 +0000
commit44bdf111ca9cd55e94b0353e800d56ddb2230aa5 (patch)
tree87ace720133d2cce4bf71e5983e5017e27401ae8 /ext
parent7a5d128385b927b8b3a69d1f008b03c72c7dae60 (diff)
* ext/extmk.rb, lib/mkmf.rb: use BUILD_FILE_SEPARATOR in Makefiles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/extmk.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index ec544f2b4e..210f709442 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -305,8 +305,8 @@ end
EXEEXT = CONFIG['EXEEXT']
if CROSS_COMPILING
$ruby = CONFIG['MINIRUBY']
-elsif $nmake
- $ruby = '$(topdir:/=\\)\\miniruby' + EXEEXT
+elsif sep = config_string('BUILD_FILE_SEPARATOR')
+ $ruby = "$(topdir:/=#{sep})#{sep}miniruby" + EXEEXT
else
$ruby = '$(topdir)/miniruby' + EXEEXT
end