From 0e9b271890c09ecb60b08e45d377031b2385ebeb Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Sat, 8 Apr 2023 08:26:19 -0400 Subject: [PATCH] Try to unbreak MSVC builds for fuzzystrmatch Commit a290378a37 neglrected to add a recipe for MSVC to build the daitch_motokoff.h file. Per buildfarm animal bowerbird. --- src/tools/msvc/Solution.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 153be7be11..37c0a99e18 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -640,6 +640,16 @@ sub GenerateFiles ); } + if (IsNewer('contrib/fuzzystrmatch/daitch_mokotoff.h', + 'contrib/fuzzystrmatch/daitch_mokotoff_header.pl')) + { + print "Generating daitch_mokotoff.h...\n"; + system( + 'perl contrib/fuzzystrmatch/daitch_mokotoff_header.pl ' . + 'contrib/fuzzystrmatch/daitch_mokotoff.h' + ); + } + if (IsNewer('src/bin/psql/sql_help.h', 'src/bin/psql/create_help.pl')) { print "Generating sql_help.h...\n";