From 738c298ce0b832edf5bbd2caed662c1e728a2aa8 Mon Sep 17 00:00:00 2001 From: nagai Date: Sun, 12 Jan 2014 09:04:06 +0000 Subject: [PATCH] * 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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/extconf.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb index 5b7c19bb7b..99a7367782 100644 --- a/ext/tk/extconf.rb +++ b/ext/tk/extconf.rb @@ -1137,7 +1137,7 @@ def find_tcl(tcllib, stubs, version, *opt_paths) 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_paths) 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']