ruby-changes:52125
From: naruse <ko1@a...>
Date: Mon, 13 Aug 2018 16:55:48 +0900 (JST)
Subject: [ruby-changes:52125] naruse:r64333 (trunk): Re-apply wrongly reverted r64330
naruse 2018-08-13 16:55:43 +0900 (Mon, 13 Aug 2018) New Revision: 64333 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64333 Log: Re-apply wrongly reverted r64330 Modified files: trunk/configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 64332) +++ configure.ac (revision 64333) @@ -3070,11 +3070,7 @@ AS_CASE("$enable_shared", [yes], [ https://github.com/ruby/ruby/blob/trunk/configure.ac#L3070 LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)' LIBRUBY_SONAME='lib$(RUBY_SO_NAME).$(SOEXT).$(RUBY_PROGRAM_VERSION)' LIBRUBY_ALIASES='$(LIBRUBY_SONAME) lib$(RUBY_SO_NAME).$(SOEXT)' - AS_IF([test "$GCC" = yes], [ - LIBRUBY_DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(@F)' - ], [ - LIBRUBY_DLDFLAGS="$DLDFLAGS "'-h $(@F)' - ]) + RUBY_APPEND_OPTIONS(LIBRUBY_DLDFLAGS, ["${linker_flag}-h${linker_flag:+,}"'$(@F)']) XLDFLAGS="$XLDFLAGS "'-R${libdir}' ], [hpux*], [ @@ -3321,7 +3317,7 @@ AS_CASE(["$target_os"], https://github.com/ruby/ruby/blob/trunk/configure.ac#L3317 ]) ], [cygwin*|mingw*], [ - LIBRUBY_DLDFLAGS="${DLDFLAGS}"' -Wl,--out-implib=$(LIBRUBY)' + LIBRUBY_DLDFLAGS="${LIBRUBY_DLDFLAGS}"' -Wl,--out-implib=$(LIBRUBY)' AS_CASE(["$target_os"], [cygwin*], [ AS_IF([test x"$enable_shared" = xyes], [ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/