Commit 9b4b2e7c authored by take_cheeze's avatar take_cheeze

use mrbc of current build in non cross build

parent a6bb8880
...@@ -103,7 +103,7 @@ module MRuby ...@@ -103,7 +103,7 @@ module MRuby
end end
def mrbcfile def mrbcfile
MRuby.targets['host'].exefile("#{MRuby.targets['host'].build_dir}/bin/mrbc") MRuby.targets[@name].exefile("#{MRuby.targets[@name].build_dir}/bin/mrbc")
end end
def compilers def compilers
...@@ -204,6 +204,10 @@ module MRuby ...@@ -204,6 +204,10 @@ module MRuby
super super
end end
def mrbcfile
MRuby.targets['host'].exefile("#{MRuby.targets['host'].build_dir}/bin/mrbc")
end
def run_test def run_test
mrbtest = exefile("#{build_dir}/test/mrbtest") mrbtest = exefile("#{build_dir}/test/mrbtest")
if (@test_runner.command == nil) if (@test_runner.command == nil)
......
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