summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authortake_cheeze <[email protected]>2014-09-08 15:43:17 +0900
committertake_cheeze <[email protected]>2014-09-08 15:43:17 +0900
commit380be0e829578f2a938d3dabf5cc3c5a1999f1dd (patch)
tree257fbaf355c13c1900753bdeda9b9f6aef8500fd /tasks
parent89e9df26819b9555fb790a16662f4ad2b9cbb2e2 (diff)
downloadmruby-380be0e829578f2a938d3dabf5cc3c5a1999f1dd.tar.gz
mruby-380be0e829578f2a938d3dabf5cc3c5a1999f1dd.zip
Fix MSVC C++ ABI build. Close #2588.
Diffstat (limited to 'tasks')
-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