Commit 1cd7c9fa authored by MATSUMOTO Ryosuke's avatar MATSUMOTO Ryosuke

Fix mrbgem options 689#issuecomment-11911431

parent f6bc6b76
...@@ -5,6 +5,6 @@ MRuby.each_target do ...@@ -5,6 +5,6 @@ MRuby.each_target do
objs = Dir.glob("#{dir}/*.{c}").map { |f| f.pathmap("#{build_dir}/%X.o") } objs = Dir.glob("#{dir}/*.{c}").map { |f| f.pathmap("#{build_dir}/%X.o") }
file exec => objs + ["#{build_dir}/lib/libmruby.a"] do |t| file exec => objs + ["#{build_dir}/lib/libmruby.a"] do |t|
link t.name, t.prerequisites, [], gems.map { |g| g.mruby_libs } link t.name, t.prerequisites, gems.map { |g| g.mruby_ldflags }, gems.map { |g| g.mruby_libs }
end end
end end
...@@ -5,6 +5,6 @@ MRuby.each_target do ...@@ -5,6 +5,6 @@ MRuby.each_target do
objs = Dir.glob("#{dir}/*.{c}").map { |f| f.pathmap("#{build_dir}/%X.o") } objs = Dir.glob("#{dir}/*.{c}").map { |f| f.pathmap("#{build_dir}/%X.o") }
file exec => objs + ["#{build_dir}/lib/libmruby_core.a"] do |t| file exec => objs + ["#{build_dir}/lib/libmruby_core.a"] do |t|
link t.name, t.prerequisites, gems.map { |g| g.mruby_ldflags }, gems.map { |g| g.mruby_libs } link t.name, t.prerequisites, [], gems.map { |g| g.mruby_libs }
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment