diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-05-20 23:16:05 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-05-20 23:16:05 +0900 |
| commit | ee274ba30f3b697e0855fe7c093136f3c8b80f6f (patch) | |
| tree | 2e521f27741d48623a723da544378f549459a948 /Rakefile | |
| parent | 929328ad3bfc3f7b0e5d01b707098a93038f3413 (diff) | |
| parent | 9ac23ae214b665f81da4a5d3c00c6d17cdb3961a (diff) | |
| download | mruby-ee274ba30f3b697e0855fe7c093136f3c8b80f6f.tar.gz mruby-ee274ba30f3b697e0855fe7c093136f3c8b80f6f.zip | |
Merge pull request #2299 from take-cheeze/cc_ext
Support extension '.cc' in source code listing.
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 } |
