aboutsummaryrefslogtreecommitdiffstats
path: root/tool/mkrunnable.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-09 14:46:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-09 14:46:53 +0000
commit402edc568ac69051f4fc28bf1e4553d4afdbbf02 (patch)
tree65927029ac5941a47450c213a3b4adc78f6d61fb /tool/mkrunnable.rb
parent50f3d3feb545b750e06bb267b651cd12dfa1f1ce (diff)
downloadruby-402edc568ac69051f4fc28bf1e4553d4afdbbf02.tar.gz
mkrunnable.rb: build_os
* tool/mkrunnable.rb: see build_os instead of target arch for cross-compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/mkrunnable.rb')
-rwxr-xr-xtool/mkrunnable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkrunnable.rb b/tool/mkrunnable.rb
index 6a6a92658a..35b75ec934 100755
--- a/tool/mkrunnable.rb
+++ b/tool/mkrunnable.rb
@@ -34,7 +34,7 @@ end
alias ln_dir_safe ln_safe
-if /mingw|mswin/ =~ RUBY_PLATFORM
+if /mingw|mswin/ =~ RbConfig::CONFIG["build_os"]
extend Mswin
end