summaryrefslogtreecommitdiff
path: root/ext/tk
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-12 09:04:06 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-12 09:04:06 +0000
commit738c298ce0b832edf5bbd2caed662c1e728a2aa8 (patch)
tree9d13e2a06cc0a6e0e42c9f15fcf1139a8d3c1a7a /ext/tk
parent89a3450a5521922f1093307001c32b3bd5defc00 (diff)
* 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
Diffstat (limited to 'ext/tk')
-rw-r--r--ext/tk/extconf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb
index 5b7c19b..99a7367 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']