From: Andrew Dunstan Date: Tue, 2 Mar 2010 23:50:58 +0000 (+0000) Subject: Add missing library and include dir for XSLT in MSVC builds X-Git-Tag: REL8_3_10~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=881a97da86c024268aae843a4b142cfde4794862;p=postgresql Add missing library and include dir for XSLT in MSVC builds --- diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 3c4694c26b..902cc404fe 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -3,7 +3,7 @@ package Solution; # # Package that encapsulates a Visual C++ solution file generation # -# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.34.2.2 2010/03/02 15:43:44 adunstan Exp $ +# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.34.2.3 2010/03/02 23:50:58 adunstan Exp $ # use Carp; use strict; @@ -360,6 +360,11 @@ sub AddProject $proj->AddIncludeDir($self->{options}->{iconv} . '\include'); $proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib'); } + if ($self->{options}->{xslt}) + { + $proj->AddIncludeDir($self->{options}->{xslt} . '\include'); + $proj->AddLibrary($self->{options}->{xslt} . '\lib\libxslt.lib'); + } return $proj; }