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

ruby-changes:32495

From: nagai <ko1@a...>
Date: Sun, 12 Jan 2014 18:04:10 +0900 (JST)
Subject: [ruby-changes:32495] nagai:r44574 (trunk): * ext/tk/extconf.rb: --with-tcllib and --with-tklib configure options

nagai	2014-01-12 18:04:06 +0900 (Sun, 12 Jan 2014)

  New Revision: 44574

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

  Log:
    * ext/tk/extconf.rb: --with-tcllib and --with-tklib configure options
      don't work correctly. Patch by jeremyevans0 (Jeremy Evans).
      [ruby-core:59483] [Bug #9348]

  Modified files:
    trunk/ext/tk/extconf.rb
Index: ext/tk/extconf.rb
===================================================================
--- ext/tk/extconf.rb	(revision 44573)
+++ ext/tk/extconf.rb	(revision 44574)
@@ -1137,7 +1137,7 @@ def find_tcl(tcllib, stubs, version, *op https://github.com/ruby/ruby/blob/trunk/ext/tk/extconf.rb#L1137
       if tcllib
         print(".")
         if have_library(tcllib, func, ["tcl.h"])
-          return [true, path, lib_w_sufx, nil, *inc]
+          return [true, path, tcllib, nil, *inc]
         end
       else
         sufx_list = ['', 't', 'g', 's', 'x']
@@ -1277,7 +1277,7 @@ def find_tk(tklib, stubs, version, *opt_ https://github.com/ruby/ruby/blob/trunk/ext/tk/extconf.rb#L1277
       if tklib
         print(".")
         if have_library(tklib, func, ["tcl.h", "tk.h"])
-          return [true, path, lib_w_sufx, nil, *inc]
+          return [true, path, tklib, nil, *inc]
         end
       else
         sufx_list = ['', 't', 'g', 's', 'x']

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

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