diff --git a/ext/iconv/extconf.rb b/ext/iconv/extconf.rb index 9093e6c..69c52e2 100644 --- a/ext/iconv/extconf.rb +++ b/ext/iconv/extconf.rb @@ -9,6 +9,7 @@ raise "vasprintf is required for Ruby 1.8" end have_func("rb_sys_fail_str", "ruby.h") +have_func("OBJ_INFECT", "ruby.h") if have_func("iconv", "iconv.h") or have_library("iconv", "iconv", "iconv.h") check_signedness("size_t") rescue nil