Skip to content

Commit 05028cc

Browse files
committed
Add missing library and include dir for XSLT in MSVC builds
1 parent b098dbe commit 05028cc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/tools/msvc/Solution.pm

Lines changed: 6 additions & 1 deletion
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.54 2010/03/02 12:29:14 adunstan Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.55 2010/03/02 22:02:31 adunstan Exp $
77
#
88
use Carp;
99
use strict;
@@ -419,6 +419,11 @@ sub AddProject
419419
$proj->AddIncludeDir($self->{options}->{iconv} . '\include');
420420
$proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib');
421421
}
422+
if ($self->{options}->{xslt})
423+
{
424+
$proj->AddIncludeDir($self->{options}->{xslt} . '\include');
425+
$proj->AddLibrary($self->{options}->{xslt} . '\lib\libxslt.lib');
426+
}
422427
return $proj;
423428
}
424429

0 commit comments

Comments
 (0)