From 0defb59053ccd1e6c8637149329989ae81e46c71 Mon Sep 17 00:00:00 2001 From: Yuichiro MASUI Date: Mon, 21 Jan 2013 12:46:17 +0900 Subject: build_config gets more flexibility --- tools/mirb/mirb.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/mirb') 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 } -- cgit v1.2.3