Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3a84978

Browse files
committed
Make iconv work like other optional libraries for MSVC.
1 parent8b42077 commit3a84978

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎src/tools/msvc/Solution.pm

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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
#
88
use Carp;
99
use 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+
}
416421
if ($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
}
422426
if ($self->{options}->{xslt})

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp