Permalink
Browse files

fix extconf.rb generation with depend file

  • Loading branch information...
timfel committed Mar 13, 2013
1 parent c91d4d7 commit 322998a6cb35f50c1b319b3e8c82264844fc5df1
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/ruby/1.9/mkmf.rb
View
@@ -1687,7 +1687,12 @@ def create_makefile(target, srcprefix = nil)
mfile.print ".SUFFIXES: .", suffixes.uniq.join(" ."), "\n\n"
end
mfile.print "$(OBJS): $(RUBY_EXTCONF_H)\n\n" if $extconf_h
- mfile.print depout
+ case depout
+ when Array
+ mfile.print depout.join
+ else
+ mfile.print depout
+ end
else
headers = []
if RULE_SUBST

0 comments on commit 322998a

Please sign in to comment.