]> 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 22:02:31 +0000 (22:02 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 2 Mar 2010 22:02:31 +0000 (22:02 +0000)
src/tools/msvc/Solution.pm

index 94463e91358632b71bec5cbb95029c414ec6d736..bd5c4882e18254e2a3a985a517640bad35c6f69d 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.54 2010/03/02 12:29:14 adunstan Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.55 2010/03/02 22:02:31 adunstan Exp $
 #
 use Carp;
 use strict;
@@ -419,6 +419,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;
 }