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

mkrunnable.rb: symlink on Windows [ci skip]

* tool/mkrunnable.rb: File.symlink is supported on Windows now.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-02-09 06:57:09 +00:00
parent 94a9a314e6
commit 07983edfe3

View file

@ -46,7 +46,7 @@ end
alias ln_dir_safe ln_safe
if /mingw|mswin/ =~ (CROSS_COMPILING || RUBY_PLATFORM)
if !File.respond_to?(:symlink) && /mingw|mswin/ =~ (CROSS_COMPILING || RUBY_PLATFORM)
extend Mswin
end