mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
build_config gets more flexibility
This commit is contained in:
@@ -3,7 +3,7 @@ MRuby.each_target do
|
||||
|
||||
if bins.find { |s| s.to_s == 'mruby' }
|
||||
exec = exefile("#{build_dir}/bin/mruby")
|
||||
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 }
|
||||
|
||||
Reference in New Issue
Block a user