summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-14 02:07:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-14 02:07:19 +0000
commit85e59cc5a992b200a1649d48aff905ec81108ea0 (patch)
tree97fa2aaa158465ecdc6fcabc9c4ecda03d43f6c2
parentc4b6e967489b7c8027da99299c1dd5fa257796e6 (diff)
mkmf.rb: fix ranlib argument
* lib/mkmf.rb (create_makefile): ranlib on static library, not DLLIB. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--lib/mkmf.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 669875c..42c3602 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-10-14 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/mkmf.rb (create_makefile): ranlib on static library, not DLLIB.
+
2013-10-13 Andrew Grimm <andrew.j.grimm@gmail.com>
* vsnprintf.c: Fix spelling from compliment to complement.
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 682eb46..187399b 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -2357,7 +2357,7 @@ site-install-rb: install-rb
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"