mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #2589 from take-cheeze/fix_msvc_cxx
Fix MSVC C++ ABI build. Close #2588.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user