Fix MSVC C++ ABI build. Close #2588.

This commit is contained in:
take_cheeze
2014-09-08 15:43:17 +09:00
parent 89e9df2681
commit 380be0e829
+1 -1
View File
@@ -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