summaryrefslogtreecommitdiffstats
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
commitf5ddcfee7fcdbf62ce860ca34303b0846880f793 (patch)
tree2a8964f03d23858e42d69f3bd6a870a58658daac /ext
parentb9a06999166194f2d587b476369a5093fd0c7dd1 (diff)
downloadruby-f5ddcfee7fcdbf62ce860ca34303b0846880f793.tar.gz
ruby-f5ddcfee7fcdbf62ce860ca34303b0846880f793.tar.xz
ruby-f5ddcfee7fcdbf62ce860ca34303b0846880f793.zip
* ext/extmk.rb, lib/mkmf.rb: use BUILD_FILE_SEPARATOR in Makefiles.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@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 93f9a2fcc..d0baa837e 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -306,8 +306,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