use c++ compiler to link when c++ abi is enabled

This commit is contained in:
take_cheeze
2014-03-02 04:30:06 +09:00
parent 9968af4570
commit 6de1c22d99
+1
View File
@@ -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