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/mrbc | |
| parent | 8e86ff2283d427b5cb2a02607e1aab998cb5090c (diff) | |
| download | mruby-0defb59053ccd1e6c8637149329989ae81e46c71.tar.gz mruby-0defb59053ccd1e6c8637149329989ae81e46c71.zip | |
build_config gets more flexibility
Diffstat (limited to 'tools/mrbc')
| -rw-r--r-- | tools/mrbc/mrbc.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mrbc/mrbc.rake b/tools/mrbc/mrbc.rake index 248433cf0..0121b7f81 100644 --- a/tools/mrbc/mrbc.rake +++ b/tools/mrbc/mrbc.rake @@ -3,7 +3,7 @@ MRuby.each_target do if bins.find { |s| s.to_s == 'mrbc' } exec = exefile("#{build_dir}/bin/mrbc") - 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_core")] do |t| linker.run t.name, t.prerequisites |
