aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2010-03-02 22:02:31 +0000
committerAndrew Dunstan <andrew@dunslane.net>2010-03-02 22:02:31 +0000
commit05028cc33f1c3ff227cf4e3a8a438847f491be94 (patch)
tree3bf534f50d183f8f30a4739b564b00e189a77ec4 /src
parentb098dbec0d068a2aa13effb11fe1e07fb1fcf5eb (diff)
downloadpostgresql-05028cc33f1c3ff227cf4e3a8a438847f491be94.tar.gz
postgresql-05028cc33f1c3ff227cf4e3a8a438847f491be94.zip
Add missing library and include dir for XSLT in MSVC builds
Diffstat (limited to 'src')
-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 94463e91358..bd5c4882e18 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.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;
}