diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-06 14:08:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-06 14:08:56 +0000 |
commit | 0a31eed4444284bd1aa3294cb9d676ef2e6eb631 (patch) | |
tree | a361c2361940f2e803d84fe8233f8afe041b4a5e /ext/iconv | |
parent | 38122d266363dd3177d8fd44c902f62ae730990c (diff) | |
download | ruby-0a31eed4444284bd1aa3294cb9d676ef2e6eb631.tar.gz ruby-0a31eed4444284bd1aa3294cb9d676ef2e6eb631.tar.xz ruby-0a31eed4444284bd1aa3294cb9d676ef2e6eb631.zip |
* ext/iconv/extconf.rb: use 3rd argument to have_library.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/iconv')
-rw-r--r-- | ext/iconv/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/iconv/extconf.rb b/ext/iconv/extconf.rb index c6e5fa124..6e2339684 100644 --- a/ext/iconv/extconf.rb +++ b/ext/iconv/extconf.rb @@ -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} |