Permalink
Browse files

Fix libiconv detection in cross building. (rake cross2 compile)

  • Loading branch information...
1 parent 0972c2d commit 180f600e7243f4aa852d4e213f029e0e32751a9b @knu knu committed Oct 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/nokogiri/extconf.rb
View
@@ -149,10 +149,10 @@ def process_recipe(name, version)
when windows_p
message "Cross-building nokogiri.\n"
+ @libdir_basename = "lib" # shrug, ruby 2.0 won't work for me.
dir_config('iconv')
have_iconv? or asplode 'iconv'
- @libdir_basename = "lib" # shrug, ruby 2.0 won't work for me.
idir, ldir = RbConfig::CONFIG['includedir'], RbConfig::CONFIG['libdir']
dir_config('zlib', idir, ldir)

0 comments on commit 180f600

Please sign in to comment.