]> granicus.if.org Git - postgresql/commitdiff
Add missing library and include dir for XSLT in MSVC builds
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 2 Mar 2010 23:51:17 +0000 (23:51 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 2 Mar 2010 23:51:17 +0000 (23:51 +0000)
src/tools/msvc/Solution.pm

index 7672866a91a6ed3de58458fbbbb88e9f5fd44bf2..161cfd29db780063ee92f22f8ffbc1ad11f0ae36 100644 (file)
@@ -3,7 +3,7 @@ package Solution;
 #
 # Package that encapsulates a Visual C++ solution file generation
 #
-# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.47.2.1 2010/03/02 15:44:03 adunstan Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.47.2.2 2010/03/02 23:51:17 adunstan Exp $
 #
 use Carp;
 use strict;
@@ -384,6 +384,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;
 }