From 380be0e829578f2a938d3dabf5cc3c5a1999f1dd Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Mon, 8 Sep 2014 15:43:17 +0900 Subject: Fix MSVC C++ ABI build. Close #2588. --- tasks/mruby_build.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3