summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-04-11 14:44:11 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-04-11 14:44:11 -0700
commit39b247ce2675b08d2efaf55a35cde5bb668dfe4a (patch)
treefc13c7095b4c80dc4d490dd0e3dab161a3738c02
parent78b0abcfafa06d04c814015ac51dad87443a88bc (diff)
parenta075e0abce132c792d7fbb56ebe86ea4865499e7 (diff)
downloadmruby-39b247ce2675b08d2efaf55a35cde5bb668dfe4a.tar.gz
mruby-39b247ce2675b08d2efaf55a35cde5bb668dfe4a.zip
Merge pull request #1173 from carsonmcdonald/alwaysbuildlibmrubya
Don't ignore host when adding libmruby.a to deps
-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"