diff options
| author | Yuichiro MASUI <[email protected]> | 2013-01-21 12:46:17 +0900 |
|---|---|---|
| committer | Yuichiro MASUI <[email protected]> | 2013-01-21 12:46:17 +0900 |
| commit | 0defb59053ccd1e6c8637149329989ae81e46c71 (patch) | |
| tree | d57fb0a99501f312f1af9a694a48cff0555a6b00 /tools/mirb | |
| parent | 8e86ff2283d427b5cb2a02607e1aab998cb5090c (diff) | |
| download | mruby-0defb59053ccd1e6c8637149329989ae81e46c71.tar.gz mruby-0defb59053ccd1e6c8637149329989ae81e46c71.zip | |
build_config gets more flexibility
Diffstat (limited to 'tools/mirb')
| -rw-r--r-- | tools/mirb/mirb.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mirb/mirb.rake b/tools/mirb/mirb.rake index 9f41fff64..0c340a2f5 100644 --- a/tools/mirb/mirb.rake +++ b/tools/mirb/mirb.rake @@ -3,7 +3,7 @@ MRuby.each_target do if bins.find { |s| s.to_s == 'mirb' } exec = exefile("#{build_dir}/bin/mirb") - objs = Dir.glob("#{dir}/*.c").map { |f| objfile(f.pathmap("#{build_dir}/%X")) } + objs = Dir.glob("#{dir}/*.c").map { |f| objfile(f.pathmap("#{build_dir}/%X")) }.flatten file exec => objs + [libfile("#{build_dir}/lib/libmruby")] do |t| gem_flags = gems.map { |g| g.linker.flags } |
