mirror of
https://github.com/postgres/postgres.git
synced 2025-06-01 14:21:49 +03:00
Add libxml2 include path for MSVC builds
On Unix this path is detected via the use of xml2-config, but that's not available on Windows. This means that users building with libxml2 will no longer need to move things around from the standard libxml2 installation for MSVC builds. Backpatch to all live branches.
This commit is contained in:
parent
29442701ff
commit
2c7d2114bb
@ -530,6 +530,7 @@ sub AddProject
|
||||
if ($self->{options}->{xml})
|
||||
{
|
||||
$proj->AddIncludeDir($self->{options}->{xml} . '\include');
|
||||
$proj->AddIncludeDir($self->{options}->{xml} . '\include\libxml2');
|
||||
$proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib');
|
||||
}
|
||||
if ($self->{options}->{xslt})
|
||||
|
Loading…
x
Reference in New Issue
Block a user