ruby-changes:41401
From: nobu <ko1@a...>
Date: Sat, 9 Jan 2016 09:19:55 +0900 (JST)
Subject: [ruby-changes:41401] nobu:r53473 (trunk): configure.in: RUBY_PROGRAM_VERSION
nobu 2016-01-09 09:20:11 +0900 (Sat, 09 Jan 2016) New Revision: 53473 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53473 Log: configure.in: RUBY_PROGRAM_VERSION * configure.in: use $(RUBY_PROGRAM_VERSION) instead of the triplet macros. Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 53472) +++ configure.in (revision 53473) @@ -3602,7 +3602,7 @@ AC_ARG_WITH(soname, https://github.com/ruby/ruby/blob/trunk/configure.in#L3602 LIBRUBY_LDSHARED=$LDSHARED LIBRUBY_DLDFLAGS=$DLDFLAGS -LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR).$(TEENY)' +LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(RUBY_PROGRAM_VERSION)' LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so' ENABLE_SHARED=no @@ -3679,7 +3679,7 @@ AS_CASE("$enable_shared", [yes], [ https://github.com/ruby/ruby/blob/trunk/configure.in#L3679 [solaris*], [ SOLIBS='$(LIBS)' LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)' - LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR).$(TEENY) lib$(RUBY_SO_NAME).so' + LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(RUBY_PROGRAM_VERSION) lib$(RUBY_SO_NAME).so' if test "$GCC" = yes; then LIBRUBY_DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(@F)' else @@ -3689,7 +3689,7 @@ AS_CASE("$enable_shared", [yes], [ https://github.com/ruby/ruby/blob/trunk/configure.in#L3689 ], [hpux*], [ XLDFLAGS="$XLDFLAGS "'-Wl,+s,+b,$(libdir)' - LIBRUBY_SO='lib$(RUBY_SO_NAME).sl.$(MAJOR).$(MINOR).$(TEENY)' + LIBRUBY_SO='lib$(RUBY_SO_NAME).sl.$(RUBY_PROGRAM_VERSION)' LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).sl.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).sl' ], [aix*], [ @@ -3698,7 +3698,7 @@ AS_CASE("$enable_shared", [yes], [ https://github.com/ruby/ruby/blob/trunk/configure.in#L3698 SOLIBS='-lm -lc' ], [darwin*], [ - RUBY_SO_NAME="$RUBY_SO_NAME"'.$(MAJOR).$(MINOR).$(TEENY)' + RUBY_SO_NAME="$RUBY_SO_NAME"'.$(RUBY_PROGRAM_VERSION)' LIBRUBY_LDSHARED='$(CC) -dynamiclib' if test "$load_relative" = yes; then libprefix="@executable_path/../${libdir_basename}" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/