From ac3a3c05c9cdf029fe05491eeb2d84e5a2d3a399 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 16 May 2011 02:22:27 +0000 Subject: * configure.in, win32/Makefile.sub (RUBY_SO_NAME): add CPU as prefix of RUBY_SO_NAME on x64/ia64 mswin/mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index c29f2ee310..0d3d048a76 100644 --- a/configure.in +++ b/configure.in @@ -2472,6 +2472,9 @@ AS_CASE(["$target_os"], ], [mingw*], [ RUBY_SO_NAME="${rb_cv_msvcrt}-${RUBY_SO_NAME}" + if test x"${target_cpu}" != xi386; then + RUBY_SO_NAME="${target_cpu}-${RUBY_SO_NAME}" + fi if test x"$enable_shared" = xyes; then LIBRUBY_SO='$(RUBY_SO_NAME)'.dll LIBRUBY_DLDFLAGS="${LIBRUBY_DLDFLAGS}"' $(RUBYDEF)' -- cgit v1.2.3