summaryrefslogtreecommitdiffhomepage
path: root/build_config.rb
diff options
context:
space:
mode:
authorkyab <[email protected]>2014-04-05 19:41:36 +0900
committerkyab <[email protected]>2014-04-05 19:41:36 +0900
commita2bd5fdbf44ea241afd11733ac61c32012dce0b8 (patch)
tree56c365723ad2708261bf58e19dcf3ccf9c02bd6c /build_config.rb
parent237feb7d39586df04188ebb5cada2b2e3c974969 (diff)
downloadmruby-a2bd5fdbf44ea241afd11733ac61c32012dce0b8.tar.gz
mruby-a2bd5fdbf44ea241afd11733ac61c32012dce0b8.zip
Add detection of VC++2010 in build_config.rb
Diffstat (limited to '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