diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-09 00:20:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-09 00:20:11 +0000 |
commit | 6837c6483fcb5aa0be6a257022460d62ec921bd7 (patch) | |
tree | 1bcea9811814214be5faa4520f85e8adb78493f2 | |
parent | bc8a7f9ab715595df6669db00efe7ad8e36b970e (diff) | |
download | ruby-6837c6483fcb5aa0be6a257022460d62ec921bd7.tar.gz |
configure.in: RUBY_PROGRAM_VERSION
* configure.in: use $(RUBY_PROGRAM_VERSION) instead of the triplet
macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in index c6a4edaed7..a4a01ddefb 100644 --- a/configure.in +++ b/configure.in @@ -3602,7 +3602,7 @@ AC_ARG_WITH(soname, 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], [ [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], [ ], [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], [ 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}" |