ruby-changes:27370
From: knu <ko1@a...>
Date: Sat, 23 Feb 2013 13:02:00 +0900 (JST)
Subject: [ruby-changes:27370] knu:r39422 (ruby_2_0_0): merge revision(s) r39281:
knu 2013-02-23 13:01:46 +0900 (Sat, 23 Feb 2013) New Revision: 39422 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39422 Log: merge revision(s) r39281: * configure.in (LIBRUBY_DLDFLAGS): Fix a bug where --with-opt-dir options given were not reflected to LIBRUBY_DLDFLAGS on many platforms including Linux and other GNU-based systems, NetBSD, AIX and BeOS. Modified directories: branches/ruby_2_0_0/ Modified files: branches/ruby_2_0_0/ChangeLog branches/ruby_2_0_0/configure.in Index: ruby_2_0_0/configure.in =================================================================== --- ruby_2_0_0/configure.in (revision 39421) +++ ruby_2_0_0/configure.in (revision 39422) @@ -2377,6 +2377,7 @@ AC_ARG_WITH(opt-dir, https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/configure.in#L2377 sed "s/^x *//;s${IFS}"'%1\\$-s'"${IFS}${dir}/lib${IFS}g;s${IFS}%s${IFS}${dir}/lib${IFS}g" done | tr '\012' ' '` set +x + LDFLAGS_OPTDIR="$val" LDFLAGS="$LDFLAGS${LDFLAGS:+ }$val" DLDFLAGS="$DLDFLAGS${DLDFLAGS:+ }$val" ]) @@ -2638,7 +2639,7 @@ AS_CASE("$enable_shared", [yes], [ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/configure.in#L2639 LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so' ], [linux* | gnu* | k*bsd*-gnu | atheos* | kopensolaris*-gnu], [ - LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)' + LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)'" $LDFLAGS_OPTDIR" LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so' if test "$load_relative" = yes; then LIBRUBY_RPATHFLAGS="'-Wl,-rpath,\$\${ORIGIN}/../${libdir_basename}'" @@ -2656,7 +2657,7 @@ AS_CASE("$enable_shared", [yes], [ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/configure.in#L2657 [netbsd*], [ SOLIBS='$(LIBS)' LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR).$(TEENY)' - LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)' + LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'" $LDFLAGS_OPTDIR" if test "$rb_cv_binary_elf" = yes; then # ELF platforms LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) lib$(RUBY_SO_NAME).so' else # a.out platforms @@ -2684,14 +2685,14 @@ AS_CASE("$enable_shared", [yes], [ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/configure.in#L2685 LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).sl.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).sl' ], [aix*], [ - LIBRUBY_DLDFLAGS="${linker_flag}-bnoentry $XLDFLAGS" + LIBRUBY_DLDFLAGS="${linker_flag}-bnoentry $XLDFLAGS $LDFLAGS_OPTDIR" LIBRUBYARG_SHARED='-L${libdir} -l${RUBY_SO_NAME}' SOLIBS='-lm -lc' ], [beos*], [ AS_CASE(["$target_cpu"], [powerpc*], [ - LIBRUBY_DLDFLAGS='-f ruby.exp -lnet -lbe -lroot glue-noinit.a init_term_dyn.o start_dyn.o' + LIBRUBY_DLDFLAGS="-f ruby.exp -lnet -lbe -lroot glue-noinit.a init_term_dyn.o start_dyn.o $LDFLAGS_OPTDIR" ]) ], [darwin*], [ Index: ruby_2_0_0/ChangeLog =================================================================== --- ruby_2_0_0/ChangeLog (revision 39421) +++ ruby_2_0_0/ChangeLog (revision 39422) @@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1 +Sat Feb 23 13:00:49 2013 Akinori MUSHA <knu@i...> + + * configure.in (LIBRUBY_DLDFLAGS): Fix a bug where --with-opt-dir + options given were not reflected to LIBRUBY_DLDFLAGS on many + platforms including Linux and other GNU-based systems, NetBSD, + AIX and BeOS. + Sat Feb 23 13:00:07 2013 Akinori MUSHA <knu@i...> * configure.in: Fix a bug introduced in r38342 that the cflagspat Property changes on: ruby_2_0_0 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r39281 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/