mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
89a3450a55
commit
738c298ce0
1 changed files with 2 additions and 2 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Reference in a new issue