[前][次][番号順一覧][スレッド一覧]

ruby-changes:29706

From: nagachika <ko1@a...>
Date: Wed, 3 Jul 2013 23:36:38 +0900 (JST)
Subject: [ruby-changes:29706] nagachika:r41758 (ruby_2_0_0): merge revision(s) 41734,41737: [Backport #8596]

nagachika	2013-07-03 23:36:24 +0900 (Wed, 03 Jul 2013)

  New Revision: 41758

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41758

  Log:
    merge revision(s) 41734,41737: [Backport #8596]
    
    * lib/mkmf.rb (try_config): Fix to not replace $LDFLAGS with $libs
      (1.9.3 behavior) [ruby-core:55752] [Bug #8595]

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/lib/mkmf.rb
    branches/ruby_2_0_0/version.h

Index: ruby_2_0_0/ChangeLog
===================================================================
--- ruby_2_0_0/ChangeLog	(revision 41757)
+++ ruby_2_0_0/ChangeLog	(revision 41758)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1
+Wed Jul  3 23:31:26 2013  Shota Fukumori  <sorah@c...>
+
+	* lib/mkmf.rb (try_config): Fix to not replace $LDFLAGS with $libs
+	  (1.9.3 behavior) [ruby-core:55752] [Bug #8595]
+
 Tue Jul  2 03:06:38 2013  Kenta Murata  <mrkn@m...>
 
 	* ext/bigdecimal/bigdecimal.c (BigMath_s_exp): Fix for the cases when
Index: ruby_2_0_0/lib/mkmf.rb
===================================================================
--- ruby_2_0_0/lib/mkmf.rb	(revision 41757)
+++ ruby_2_0_0/lib/mkmf.rb	(revision 41758)
@@ -1709,12 +1709,13 @@ SRC https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/lib/mkmf.rb#L1709
       # default to package specific config command, as a last resort.
       get = proc {|opt| `#{pkgconfig} --#{opt}`.strip}
     end
+    orig_ldflags = $LDFLAGS
     if get and try_ldflags(ldflags = get['libs'])
       cflags = get['cflags']
       libs = get['libs-only-l']
       ldflags = (Shellwords.shellwords(ldflags) - Shellwords.shellwords(libs)).quote.join(" ")
       $CFLAGS += " " << cflags
-      $LDFLAGS += " " << ldflags
+      $LDFLAGS = [orig_ldflags, ldflags].join(' ')
       $libs += " " << libs
       Logging::message "package configuration for %s\n", pkg
       Logging::message "cflags: %s\nldflags: %s\nlibs: %s\n\n",
Index: ruby_2_0_0/version.h
===================================================================
--- ruby_2_0_0/version.h	(revision 41757)
+++ ruby_2_0_0/version.h	(revision 41758)
@@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1
 #define RUBY_VERSION "2.0.0"
-#define RUBY_RELEASE_DATE "2013-07-02"
-#define RUBY_PATCHLEVEL 249
+#define RUBY_RELEASE_DATE "2013-07-03"
+#define RUBY_PATCHLEVEL 250
 
 #define RUBY_RELEASE_YEAR 2013
 #define RUBY_RELEASE_MONTH 7
-#define RUBY_RELEASE_DAY 2
+#define RUBY_RELEASE_DAY 3
 
 #include "ruby/version.h"
 

Property changes on: ruby_2_0_0
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r41734,41737


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]