ruby-changes:31196
From: nobu <ko1@a...>
Date: Mon, 14 Oct 2013 11:07:25 +0900 (JST)
Subject: [ruby-changes:31196] nobu:r43275 (trunk): mkmf.rb: fix ranlib argument
nobu 2013-10-14 11:07:19 +0900 (Mon, 14 Oct 2013) New Revision: 43275 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43275 Log: mkmf.rb: fix ranlib argument * lib/mkmf.rb (create_makefile): ranlib on static library, not DLLIB. Modified files: trunk/ChangeLog trunk/lib/mkmf.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 43274) +++ ChangeLog (revision 43275) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +2013-10-14 Nobuyoshi Nakada <nobu@r...> + + * lib/mkmf.rb (create_makefile): ranlib on static library, not DLLIB. + 2013-10-13 Andrew Grimm <andrew.j.grimm@g...> * vsnprintf.c: Fix spelling from compliment to complement. Index: lib/mkmf.rb =================================================================== --- lib/mkmf.rb (revision 43274) +++ lib/mkmf.rb (revision 43275) @@ -2357,7 +2357,7 @@ site-install-rb: install-rb https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L2357 mfile.print "$(ECHO) linking static-library $(@#{rsep})\n\t$(Q) " mfile.print "$(AR) #{config_string('ARFLAGS') || 'cru '}$@ $(OBJS)" config_string('RANLIB') do |ranlib| - mfile.print "\n\t-$(Q)#{ranlib} $(DLLIB) 2> /dev/null || true" + mfile.print "\n\t-$(Q)#{ranlib} $(@) 2> /dev/null || true" end end mfile.print "\n\n" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/