aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2010-03-02 23:51:17 +0000
committerAndrew Dunstan <andrew@dunslane.net>2010-03-02 23:51:17 +0000
commit97843b38858a6714eb1dd13b41edcd19587a9f13 (patch)
tree7f92abe8009ca19dcd751ee74ed5f5e54d56da1c
parent104813c6a7a1d2e559c051b807fd0d3f0326b9c3 (diff)
downloadpostgresql-97843b38858a6714eb1dd13b41edcd19587a9f13.tar.gz
postgresql-97843b38858a6714eb1dd13b41edcd19587a9f13.zip
Add missing library and include dir for XSLT in MSVC builds
-rw-r--r--src/tools/msvc/Solution.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm
index 7672866a91a..161cfd29db7 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.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;
}