mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
configure.ac: fix SONAME
* configure.ac (RUBY_SO_NAME): revert $(RUBY_API_VERSION:.=) to $(MAJOR)$(MINOR), as a string in middle is not replaced. [ruby-core:83208] [Bug #14002] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b1ef4d8096
commit
b625191054
1 changed files with 4 additions and 4 deletions
|
@ -3789,10 +3789,10 @@ AC_ARG_WITH(soname,
|
|||
RUBY_SO_NAME='$(RUBY_BASE_NAME).$(RUBY_PROGRAM_VERSION)'
|
||||
],
|
||||
[cygwin*], [
|
||||
RUBY_SO_NAME='$(RUBY_BASE_NAME)$(RUBY_API_VERSION:.=)0'
|
||||
RUBY_SO_NAME='$(RUBY_BASE_NAME)$(MAJOR)$(MINOR)0'
|
||||
],
|
||||
[mingw*], [
|
||||
RUBY_SO_NAME="${rb_cv_msvcrt}"'-$(RUBY_BASE_NAME)$(RUBY_API_VERSION:.=)0'
|
||||
RUBY_SO_NAME="${rb_cv_msvcrt}"'-$(RUBY_BASE_NAME)$(MAJOR)$(MINOR)0'
|
||||
AS_IF([test x"${target_cpu}" != xi386], [
|
||||
RUBY_SO_NAME="${target_cpu}-${RUBY_SO_NAME}"
|
||||
])
|
||||
|
@ -3857,7 +3857,7 @@ AS_CASE("$enable_shared", [yes], [
|
|||
],
|
||||
[freebsd*|dragonfly*], [
|
||||
SOLIBS='$(LIBS)'
|
||||
LIBRUBY_SONAME='lib$(RUBY_SO_NAME).$(SOEXT).$(RUBY_API_VERSION:.=)'
|
||||
LIBRUBY_SONAME='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)'
|
||||
LIBRUBY_SO='$(LIBRUBY_SONAME)'
|
||||
AS_IF([test "$rb_cv_binary_elf" != "yes" ], [
|
||||
LIBRUBY_SO="$LIBRUBY_SO.\$(TEENY)"
|
||||
|
@ -3866,7 +3866,7 @@ AS_CASE("$enable_shared", [yes], [
|
|||
],
|
||||
[netbsd*], [
|
||||
SOLIBS='$(LIBS)'
|
||||
LIBRUBY_SONAME='lib$(RUBY_SO_NAME).$(SOEXT).$(RUBY_API_VERSION:.=)'
|
||||
LIBRUBY_SONAME='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)'
|
||||
LIBRUBY_SO='$(LIBRUBY_SONAME).$(TEENY)'
|
||||
RUBY_APPEND_OPTIONS(LIBRUBY_DLDFLAGS, ['-Wl,-soname,$(LIBRUBY_SONAME)' "$LDFLAGS_OPTDIR"])
|
||||
AS_IF([test "$rb_cv_binary_elf" = yes], [ # ELF platforms
|
||||
|
|
Loading…
Add table
Reference in a new issue