mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add mruby_ldflags to mrbtest
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@ MRuby.each_target do
|
||||
objs = ["#{build_dir}/#{dir}/driver.o", mlib]
|
||||
|
||||
file exec => objs + gems.map{ |g| g.testlib } + ["#{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
|
||||
|
||||
file mlib => [clib]
|
||||
@@ -29,4 +29,4 @@ MRuby.each_target do
|
||||
f.puts "}"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user