diff options
| author | take_cheeze <[email protected]> | 2014-05-20 22:52:08 +0900 |
|---|---|---|
| committer | take_cheeze <[email protected]> | 2014-05-20 22:52:08 +0900 |
| commit | 9ac23ae214b665f81da4a5d3c00c6d17cdb3961a (patch) | |
| tree | 2e521f27741d48623a723da544378f549459a948 /Rakefile | |
| parent | 929328ad3bfc3f7b0e5d01b707098a93038f3413 (diff) | |
| download | mruby-9ac23ae214b665f81da4a5d3c00c6d17cdb3961a.tar.gz mruby-9ac23ae214b665f81da4a5d3c00c6d17cdb3961a.zip | |
Support extension '.cc' in globbing.
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,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,cpp,cxx}").map { |f| objfile(f.pathmap("#{current_build_dir}/tools/#{bin}/%n")) } + objs = Dir.glob("#{current_dir}/tools/#{bin}/*.{c,cpp,cxx,cc}").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 } |
