@@ -3,7 +3,7 @@ package Solution;
33#
44# Package that encapsulates a Visual C++ solution file generation
55#
6- # $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.55 2010/03/02 22:02:31 adunstan Exp $
6+ # $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.56 2010/03/03 03:29:37 adunstan Exp $
77#
88use Carp;
99use strict;
@@ -413,10 +413,14 @@ sub AddProject
413413$proj -> AddLibrary($self -> {options }-> {krb5 } .' \lib\i386\comerr32.lib' );
414414$proj -> AddLibrary($self -> {options }-> {krb5 } .' \lib\i386\gssapi32.lib' );
415415 }
416+ if ($self -> {options }-> {iconv })
417+ {
418+ $proj -> AddIncludeDir($self -> {options }-> {iconv } .' \include' );
419+ $proj -> AddLibrary($self -> {options }-> {iconv } .' \lib\iconv.lib' );
420+ }
416421if ($self -> {options }-> {xml })
417422 {
418423$proj -> AddIncludeDir($self -> {options }-> {xml } .' \include' );
419- $proj -> AddIncludeDir($self -> {options }-> {iconv } .' \include' );
420424$proj -> AddLibrary($self -> {options }-> {xml } .' \lib\libxml2.lib' );
421425 }
422426if ($self -> {options }-> {xslt })