From 9b4b2e7c529a13273389bf96e030adaed7ae6909 Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Tue, 26 Nov 2013 11:33:25 +0900 Subject: use mrbc of current build in non cross build --- tasks/mruby_build.rake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tasks') diff --git a/tasks/mruby_build.rake b/tasks/mruby_build.rake index acaabfa81..8f5881f3b 100644 --- a/tasks/mruby_build.rake +++ b/tasks/mruby_build.rake @@ -103,7 +103,7 @@ module MRuby end 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 def compilers @@ -204,6 +204,10 @@ module MRuby super end + def mrbcfile + MRuby.targets['host'].exefile("#{MRuby.targets['host'].build_dir}/bin/mrbc") + end + def run_test mrbtest = exefile("#{build_dir}/test/mrbtest") if (@test_runner.command == nil) -- cgit v1.2.3