summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorkyab <[email protected]>2014-04-05 19:28:48 +0900
committerkyab <[email protected]>2014-04-05 19:28:48 +0900
commit0ad9b900a5ba8b6d81323b99bd185fdf3f2dcaa7 (patch)
tree92266e97880af4569bfc2110b9d59b23a3d183fc /tasks
parentf39a5c1d2a2da1d4ff6ddab505cd5c8289825830 (diff)
downloadmruby-0ad9b900a5ba8b6d81323b99bd185fdf3f2dcaa7.tar.gz
mruby-0ad9b900a5ba8b6d81323b99bd185fdf3f2dcaa7.zip
Fix 'make test' fail to build on Windows(MSVC)
Diffstat (limited to 'tasks')
-rw-r--r--tasks/mrbgems_test.rake3
1 files changed, 2 insertions, 1 deletions
diff --git a/tasks/mrbgems_test.rake b/tasks/mrbgems_test.rake
index b29a57f3d..bf775ffdd 100644
--- a/tasks/mrbgems_test.rake
+++ b/tasks/mrbgems_test.rake
@@ -115,7 +115,8 @@ MRuby.each_target do
no_mrb_open_test_rbfiles << "#{MRUBY_ROOT}/test/no_mrb_open_test_dummy.rb"
end
- file "#{no_mrb_open_test}.o" => "#{no_mrb_open_test}.c"
+ no_mrb_open_test_lib = no_mrb_open_test.ext(exts.object)
+ file no_mrb_open_test_lib => "#{no_mrb_open_test}.c"
file "#{no_mrb_open_test}.c" => no_mrb_open_test_rbfiles do |t|
open(t.name, 'w') do |f|
f.puts %Q[/*]