Skip to content

Commit

Permalink
Iconv was for building libxml2 and not for nokogiri itself.
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed Jun 11, 2013
1 parent 4c1c225 commit c7ef9b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ext/nokogiri/extconf.rb
Expand Up @@ -213,18 +213,15 @@ def each_idir
end

dir_config('zlib', HEADER_DIRS, LIB_DIRS)
dir_config('iconv', HEADER_DIRS, LIB_DIRS)
dir_config('xml2', XML2_HEADER_DIRS, LIB_DIRS)
dir_config('xslt', HEADER_DIRS, LIB_DIRS)

pkg_config('libxslt')
pkg_config('libxml-2.0')
pkg_config('libiconv')

asplode "libxml2" unless find_header('libxml/parser.h')
asplode "libxslt" unless find_header('libxslt/xslt.h')
asplode "libexslt" unless find_header('libexslt/exslt.h')
asplode "libiconv" unless have_iconv?
asplode "libxml2" unless find_library("xml2", 'xmlParseDoc')
asplode "libxslt" unless find_library("xslt", 'xsltParseStylesheetDoc')
asplode "libexslt" unless find_library("exslt", 'exsltFuncRegister')
Expand Down

0 comments on commit c7ef9b3

Please sign in to comment.