summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-04-06 00:19:43 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-04-06 00:19:43 +0900
commit63dc51c2f90b435361491582aa380bbb5d0476fd (patch)
tree56c365723ad2708261bf58e19dcf3ccf9c02bd6c
parent237feb7d39586df04188ebb5cada2b2e3c974969 (diff)
parenta2bd5fdbf44ea241afd11733ac61c32012dce0b8 (diff)
downloadmruby-63dc51c2f90b435361491582aa380bbb5d0476fd.tar.gz
mruby-63dc51c2f90b435361491582aa380bbb5d0476fd.zip
Merge pull request #2015 from kyab/detect_vc2010_build_config
Add detection of VC++2010 in build_config.rb
-rw-r--r--build_config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_config.rb b/build_config.rb
index e8d07769d..991a6bfb3 100644
--- a/build_config.rb
+++ b/build_config.rb
@@ -2,7 +2,7 @@ MRuby::Build.new do |conf|
# load specific toolchain settings
# Gets set by the VS command prompts.
- if ENV['VisualStudioVersion']
+ if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR']
toolchain :visualcpp
else
toolchain :gcc