summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-01-05 02:19:17 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2013-01-05 02:19:17 -0800
commit4fd63b7457499ecfc68da5177374b635ccadbcc8 (patch)
tree081d2856a30da23fc2fcac496fda8f718c141f76 /test
parentfe954098b30bc5cec1c0576831b12d089ccc188b (diff)
parentc38b8776c84999000dea01f7e92b1c96af93207a (diff)
downloadmruby-4fd63b7457499ecfc68da5177374b635ccadbcc8.tar.gz
mruby-4fd63b7457499ecfc68da5177374b635ccadbcc8.zip
Merge pull request #690 from matsumoto-r/fix_mrbgems_flags
Add mruby_ldflags when tools/mruby and tools/mrbc link archive files
Diffstat (limited to 'test')
-rw-r--r--test/mrbtest.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mrbtest.rake b/test/mrbtest.rake
index 1d416df2c..cd560d206 100644
--- a/test/mrbtest.rake
+++ b/test/mrbtest.rake
@@ -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 \ No newline at end of file
+end