summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorCarson McDonald <[email protected]>2013-04-11 13:55:48 -0400
committerCarson McDonald <[email protected]>2013-04-11 13:55:48 -0400
commita075e0abce132c792d7fbb56ebe86ea4865499e7 (patch)
treefc13c7095b4c80dc4d490dd0e3dab161a3738c02 /Rakefile
parent78b0abcfafa06d04c814015ac51dad87443a88bc (diff)
downloadmruby-a075e0abce132c792d7fbb56ebe86ea4865499e7.tar.gz
mruby-a075e0abce132c792d7fbb56ebe86ea4865499e7.zip
Don't ignore host when adding libmruby.a to deps.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 5 insertions, 1 deletions
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"