mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
use c++ compiler to link when c++ abi is enabled
This commit is contained in:
@@ -102,6 +102,7 @@ module MRuby
|
||||
def enable_cxx_abi
|
||||
return if @cxx_abi_enabled
|
||||
compilers.each { |c| c.defines += %w(MRB_ENABLE_CXX_EXCEPTION) }
|
||||
linker.command = cxx.command
|
||||
@cxx_abi_enabled = true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user