mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb: use the semicolon as the path separator
in the environment of MSYS. fixed: [ruby-dev:26232] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d44aad5715
commit
aee4253e70
2 changed files with 14 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri May 27 16:32:04 2005 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/mkmf.rb: use the semicolon as the path separator
|
||||||
|
in the environment of MSYS. fixed: [ruby-dev:26232]
|
||||||
|
|
||||||
Thu May 26 20:31:21 2005 Minero Aoki <aamine@loveruby.net>
|
Thu May 26 20:31:21 2005 Minero Aoki <aamine@loveruby.net>
|
||||||
|
|
||||||
* lib/fileutils.rb (remove_entry_secure): add documentation.
|
* lib/fileutils.rb (remove_entry_secure): add documentation.
|
||||||
|
|
14
lib/mkmf.rb
14
lib/mkmf.rb
|
@ -834,11 +834,15 @@ end
|
||||||
def configuration(srcdir)
|
def configuration(srcdir)
|
||||||
mk = []
|
mk = []
|
||||||
vpath = %w[$(srcdir) $(topdir) $(hdrdir)]
|
vpath = %w[$(srcdir) $(topdir) $(hdrdir)]
|
||||||
if !CROSS_COMPILING && CONFIG['build_os'] == 'cygwin' && CONFIG['target_os'] != 'cygwin'
|
if !CROSS_COMPILING
|
||||||
vpath.each {|p| p.sub!(/.*/, '$(shell cygpath -u \&)')}
|
case CONFIG['build_os']
|
||||||
end
|
when 'cygwin'
|
||||||
if !CROSS_COMPILING && CONFIG['build_os'] == 'msdosdjgpp'
|
if CONFIG['target_os'] != 'cygwin'
|
||||||
CONFIG['PATH_SEPARATOR'] = ';'
|
vpath.each {|p| p.sub!(/.*/, '$(shell cygpath -u \&)')}
|
||||||
|
end
|
||||||
|
when 'msdosdjgpp', 'mingw32'
|
||||||
|
CONFIG['PATH_SEPARATOR'] = ';'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
mk << %{
|
mk << %{
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
Loading…
Reference in a new issue