Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e687c4c

Browse files
committed
Don't install files for xml2 when building without libxml.
1 parent 3b93fba commit e687c4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/msvc/Install.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Install;
33
#
44
# Package that provides 'make install' functionality for msvc builds
55
#
6-
# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.8 2007/04/04 16:34:43 mha Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.9 2007/04/04 18:45:59 adunstan Exp $
77
#
88
use strict;
99
use warnings;
@@ -226,6 +226,7 @@ sub CopyContribFiles
226226
next if ($d =~ /^\./);
227227
next unless (-f "contrib/$d/Makefile");
228228
next if ($d eq "sslinfo" && !defined($config->{openssl}));
229+
next if ($d eq "xml2" && !defined($config->{xml}));
229230

230231
my $mf = read_file("contrib/$d/Makefile");
231232
$mf =~ s{\\s*[\r\n]+}{}mg;

0 commit comments

Comments
 (0)