--- Makefile.in.orig	2010-12-02 21:23:34.000000000 +0900
+++ Makefile.in	2013-03-10 15:31:47.000000000 +0900
@@ -52,7 +52,7 @@
 MINIOBJS = @MINIOBJS@
 
 RUBY_INSTALL_NAME=@RUBY_INSTALL_NAME@
-RUBY_SO_NAME=@RUBY_SO_NAME@
+RUBY_SO_NAME=ruby
 EXEEXT = @EXEEXT@
 PROGRAM=$(RUBY_INSTALL_NAME)$(EXEEXT)
 RUBY = $(RUBY_INSTALL_NAME)
