1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00

Add missing library and include dir for XSLT in MSVC builds

This commit is contained in:
Andrew Dunstan
2010-03-02 23:51:17 +00:00
parent 104813c6a7
commit 97843b3885

View File

@@ -3,7 +3,7 @@ package Solution;
# #
# Package that encapsulates a Visual C++ solution file generation # 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 Carp;
use strict; use strict;
@@ -384,6 +384,11 @@ sub AddProject
$proj->AddIncludeDir($self->{options}->{iconv} . '\include'); $proj->AddIncludeDir($self->{options}->{iconv} . '\include');
$proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib'); $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; return $proj;
} }