summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-09 06:57:09 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-09 06:57:09 (GMT)
commit07983edfe34529903a1d76e9d9c4ca6c65411043 (patch)
tree57e31bf9f342c3544ae8e183fdb1e4a241f6768b /tool
parent94a9a314e69dd0ceb9f7dd02134de2008a949b65 (diff)
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
Diffstat (limited to 'tool')
-rwxr-xr-xtool/mkrunnable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkrunnable.rb b/tool/mkrunnable.rb
index cbc4db7..4e73771 100755
--- a/tool/mkrunnable.rb
+++ b/tool/mkrunnable.rb
@@ -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