mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/iconv/extconf.rb: use 3rd argument to have_library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
84c2dc95de
commit
62bb03bf5a
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ conf = File.exist?(File.join($srcdir, "config.charset"))
|
|||
conf = with_config("config-charset", enable_config("config-charset", conf))
|
||||
|
||||
if have_func("iconv", "iconv.h") or
|
||||
have_library("iconv", "iconv") {|s| s.sub(/(?=\n\/\*top\*\/)/, "#include <iconv.h>")}
|
||||
have_library("iconv", "iconv", "iconv.h")
|
||||
if checking_for("const of iconv() 2nd argument") do
|
||||
create_tmpsrc(cpp_include("iconv.h") + "---> iconv(cd,0,0,0,0) <---")
|
||||
src = xpopen(cpp_command("")) {|f|f.read}
|
||||
|
|
Loading…
Reference in a new issue