diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-05-17 15:42:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-05-17 15:42:21 +0000 |
commit | fbbc511d65e7d21f25c5ca14a1a495b278e03d2c (patch) | |
tree | 2a8964f03d23858e42d69f3bd6a870a58658daac /ext | |
parent | 8c5f9ef2eab6fe7e9f0531d0c670d053616d69be (diff) | |
download | ruby-fbbc511d65e7d21f25c5ca14a1a495b278e03d2c.tar.gz |
* ext/extmk.rb, lib/mkmf.rb: use BUILD_FILE_SEPARATOR in Makefiles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 93f9a2fccd..d0baa837e9 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 |