aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
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 cbc4db7669..4e73771485 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