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

ruby-changes:30320

From: nagai <ko1@a...>
Date: Sun, 4 Aug 2013 10:31:54 +0900 (JST)
Subject: [ruby-changes:30320] nagai:r42372 (trunk): * ext/tk/extconf.rb: Don't add "-ltk -ltcl" for MacOSX frameworks, because they may link improper libraries.

nagai	2013-08-04 10:31:39 +0900 (Sun, 04 Aug 2013)

  New Revision: 42372

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

  Log:
    * ext/tk/extconf.rb: Don't add "-ltk -ltcl" for MacOSX frameworks, because they may link improper libraries.

  Modified files:
    trunk/ext/tk/extconf.rb

Index: ext/tk/extconf.rb
===================================================================
--- ext/tk/extconf.rb	(revision 42371)
+++ ext/tk/extconf.rb	(revision 42372)
@@ -2011,7 +2011,6 @@ if TkLib_Config["tcltk-framework"] https://github.com/ruby/ruby/blob/trunk/ext/tk/extconf.rb#L2011
     end
   end
   $LDFLAGS << ' ' << libs
-  $libs << ' -ltk -ltcl'
   setup_for_macosx_framework(tclver, tkver) if tcl_cfg_dir && tk_cfg_dir
 end
 

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

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