mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Make iconv work like other optional libraries for MSVC.
This commit is contained in:
parent
8b420770b3
commit
3a8497892c
@ -3,7 +3,7 @@ package Solution;
|
||||
#
|
||||
# Package that encapsulates a Visual C++ solution file generation
|
||||
#
|
||||
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.55 2010/03/02 22:02:31 adunstan Exp $
|
||||
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.56 2010/03/03 03:29:37 adunstan Exp $
|
||||
#
|
||||
use Carp;
|
||||
use strict;
|
||||
@ -413,10 +413,14 @@ sub AddProject
|
||||
$proj->AddLibrary($self->{options}->{krb5} . '\lib\i386\comerr32.lib');
|
||||
$proj->AddLibrary($self->{options}->{krb5} . '\lib\i386\gssapi32.lib');
|
||||
}
|
||||
if ($self->{options}->{iconv})
|
||||
{
|
||||
$proj->AddIncludeDir($self->{options}->{iconv} . '\include');
|
||||
$proj->AddLibrary($self->{options}->{iconv} . '\lib\iconv.lib');
|
||||
}
|
||||
if ($self->{options}->{xml})
|
||||
{
|
||||
$proj->AddIncludeDir($self->{options}->{xml} . '\include');
|
||||
$proj->AddIncludeDir($self->{options}->{iconv} . '\include');
|
||||
$proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib');
|
||||
}
|
||||
if ($self->{options}->{xslt})
|
||||
|
Loading…
Reference in New Issue
Block a user