1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/mkmf.rb (configuration): leaves PATH_SEPARATOR unchanged.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-01-23 06:11:39 +00:00
parent 389157d8cf
commit 834e7488af
2 changed files with 3 additions and 3 deletions

View file

@ -1,8 +1,10 @@
Fri Jan 23 14:57:18 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> Fri Jan 23 15:12:52 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (mkintpath): new function which converts native path * lib/mkmf.rb (mkintpath): new function which converts native path
to format acceptable in Makefile. to format acceptable in Makefile.
* lib/mkmf.rb (configuration): leaves PATH_SEPARATOR unchanged.
* lib/mkmf.rb (configuration): convers srcdir, topdir and hdrdir. * lib/mkmf.rb (configuration): convers srcdir, topdir and hdrdir.
a patch by Alexey Borzenkov <snaury AT gmail.com> at a patch by Alexey Borzenkov <snaury AT gmail.com> at
[ruby-core:21448]. [ruby-core:21448].

View file

@ -1331,8 +1331,6 @@ def configuration(srcdir)
if CONFIG['target_os'] != 'cygwin' if CONFIG['target_os'] != 'cygwin'
vpath = vpath.map {|p| p.sub(/.*/, '$(shell cygpath -u \&)')} vpath = vpath.map {|p| p.sub(/.*/, '$(shell cygpath -u \&)')}
end end
when 'mingw32'
CONFIG['PATH_SEPARATOR'] = ';'
end end
end end
CONFIG["hdrdir"] ||= $hdrdir CONFIG["hdrdir"] ||= $hdrdir