Commit 380be0e8 authored by take_cheeze's avatar take_cheeze

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

parent 89e9df26
...@@ -109,7 +109,7 @@ module MRuby ...@@ -109,7 +109,7 @@ module MRuby
def enable_cxx_abi def enable_cxx_abi
return if @cxx_exception_disabled or @cxx_abi_enabled return if @cxx_exception_disabled or @cxx_abi_enabled
compilers.each { |c| c.defines += %w(MRB_ENABLE_CXX_EXCEPTION) } 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 @cxx_abi_enabled = true
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment