diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 3be3e80c38501015cd2ec2a12f666b87a0d13e5c..79a3d82790b7afb5ece9d4b7c6e1b2aa5a5d8aa1 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -218,7 +218,7 @@ EOF my $mf = Project::read_file('src\backend\catalog\Makefile'); $mf =~ s{\\s*[\r\n]+}{}mg; - $mf =~ /^POSTGRES_BKI_SRCS\s*:=[^,]+,(.*)\)$/gm || croak "Could not find POSTGRES_BKI_SRCS in Makefile\n"; + $mf =~ /^POSTGRES_BKI_SRCS\s*:?=[^,]+,(.*)\)$/gm || croak "Could not find POSTGRES_BKI_SRCS in Makefile\n"; my @allbki = split /\s+/, $1; foreach my $bki (@allbki) { next if $bki eq "";