From c26ac226e45fbf84cd63588498c00da9417aebc1 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Sun, 23 Jan 2011 22:57:32 -0500 Subject: [PATCH] Blind attempt to exclude sepgsql from MSVC build system. --- src/tools/msvc/Install.pm | 1 + src/tools/msvc/Mkvcbuild.pm | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm index 78a6cf2adf..cf28da1c41 100644 --- a/src/tools/msvc/Install.pm +++ b/src/tools/msvc/Install.pm @@ -312,6 +312,7 @@ sub CopyContribFiles next if ($d eq "uuid-ossp"&& !defined($config->{uuid})); next if ($d eq "sslinfo" && !defined($config->{openssl})); next if ($d eq "xml2" && !defined($config->{xml})); + next if ($d eq "sepgsql"); my $mf = read_file("contrib/$d/Makefile"); $mf =~ s{\\s*[\r\n]+}{}mg; diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm index b73271e712..44d11e1fae 100644 --- a/src/tools/msvc/Mkvcbuild.pm +++ b/src/tools/msvc/Mkvcbuild.pm @@ -356,6 +356,9 @@ sub mkvcbuild push @contrib_excludes,'uuid-ossp'; } + # No SELinux support for Windows. + push @contrib_excludes,'sepgsql'; + # Pgcrypto makefile too complex to parse.... my $pgcrypto = $solution->AddProject('pgcrypto','dll','crypto'); $pgcrypto->AddFiles(