summaryrefslogtreecommitdiffhomepage
path: root/tasks/mruby_build.rake
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-09-08 23:05:08 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-09-08 23:05:08 +0900
commit63e34c30e0975e55a59f6e9d1eb4ba7fc44ec0de (patch)
tree257fbaf355c13c1900753bdeda9b9f6aef8500fd /tasks/mruby_build.rake
parent89e9df26819b9555fb790a16662f4ad2b9cbb2e2 (diff)
parent380be0e829578f2a938d3dabf5cc3c5a1999f1dd (diff)
downloadmruby-63e34c30e0975e55a59f6e9d1eb4ba7fc44ec0de.tar.gz
mruby-63e34c30e0975e55a59f6e9d1eb4ba7fc44ec0de.zip
Merge pull request #2589 from take-cheeze/fix_msvc_cxx
Fix MSVC C++ ABI build. Close #2588.
Diffstat (limited to 'tasks/mruby_build.rake')
-rw-r--r--tasks/mruby_build.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/mruby_build.rake b/tasks/mruby_build.rake
index 06bb2a4e6..35fca428e 100644
--- a/tasks/mruby_build.rake
+++ b/tasks/mruby_build.rake
@@ -109,7 +109,7 @@ module MRuby
def enable_cxx_abi
return if @cxx_exception_disabled or @cxx_abi_enabled
compilers.each { |c| c.defines += %w(MRB_ENABLE_CXX_EXCEPTION) }
- linker.command = cxx.command
+ linker.command = cxx.command if toolchains.find { |v| v == 'gcc' }
@cxx_abi_enabled = true
end