summaryrefslogtreecommitdiff
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 dda49ed769..82de4eee13 100755
--- a/tool/mkrunnable.rb
+++ b/tool/mkrunnable.rb
@@ -36,7 +36,7 @@ end
alias ln_dir_safe ln_safe
-if /mingw|mswin/ =~ CROSS_COMPILING
+if /mingw|mswin/ =~ (CROSS_COMPILING || RUBY_PLATFORM)
extend Mswin
end