You'll need to modify the iconv package's .cabal file when installing on Windows. Remove the conditional check so that the extra-libraries
field always applies. Update the include-dirs
and extra-lib-dirs
fields to read as follows:
include-dirs: cbits, "c:\\GnuWin32\\include"
extra-lib-dirs: "c:\\GnuWin32\\lib"