diff options
| author | Tomoyuki Sahara <[email protected]> | 2013-08-26 23:20:22 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2013-08-26 23:20:22 +0900 |
| commit | f77dc2e6cb2c2ea21c6cca96f88d06acfbf30d17 (patch) | |
| tree | bc0f3ab1cdb846fa004f6a19fc706492895a5a7d /Rakefile | |
| parent | 0e8efd4a218f3d235f88054f0d9d11f8bfdcfd33 (diff) | |
| parent | 91b878e5dfa671b63c26019962736dda1a58f9fc (diff) | |
| download | mruby-f77dc2e6cb2c2ea21c6cca96f88d06acfbf30d17.tar.gz mruby-f77dc2e6cb2c2ea21c6cca96f88d06acfbf30d17.zip | |
Merge branch 'mruby' into pr-typeerror-string-start-end-with
Conflicts:
mrbgems/mruby-string-ext/src/string.c
mrbgems/mruby-string-ext/test/string.rb
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,7 +41,7 @@ depfiles = MRuby.targets['host'].bins.map do |bin| FileUtils.rm_f t.name, { :verbose => $verbose } FileUtils.cp t.prerequisites.first, t.name, { :verbose => $verbose } end - + install_path end @@ -53,7 +53,7 @@ MRuby.each_target do |target| gem.bins.each do |bin| exec = exefile("#{build_dir}/bin/#{bin}") - objs = Dir.glob("#{current_dir}/tools/#{bin}/*.c").map { |f| objfile(f.pathmap("#{current_build_dir}/tools/#{bin}/%n")) } + objs = Dir.glob("#{current_dir}/tools/#{bin}/*.{c,cpp,cxx}").map { |f| objfile(f.pathmap("#{current_build_dir}/tools/#{bin}/%n")) } file exec => objs + [libfile("#{build_dir}/lib/libmruby")] do |t| gem_flags = gems.map { |g| g.linker.flags } |
