From a075e0abce132c792d7fbb56ebe86ea4865499e7 Mon Sep 17 00:00:00 2001 From: Carson McDonald Date: Thu, 11 Apr 2013 13:55:48 -0400 Subject: Don't ignore host when adding libmruby.a to deps. --- Rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index f9e5e5ce3..0902cb330 100644 --- a/Rakefile +++ b/Rakefile @@ -79,8 +79,12 @@ MRuby.each_target do |target| end end +depfiles += MRuby.targets.map { |n, t| + [t.libfile("#{t.build_dir}/lib/libmruby")] +}.flatten + depfiles += MRuby.targets.reject { |n, t| n == 'host' }.map { |n, t| - [t.libfile("#{t.build_dir}/lib/libmruby")] + t.bins.map { |bin| t.exefile("#{t.build_dir}/bin/#{bin}") } + t.bins.map { |bin| t.exefile("#{t.build_dir}/bin/#{bin}") } }.flatten desc "build all targets, install (locally) in-repo" -- cgit v1.2.3