]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Try to unbreak MSVC builds for fuzzystrmatch
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 8 Apr 2023 12:26:19 +0000 (08:26 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 8 Apr 2023 12:28:15 +0000 (08:28 -0400)
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

index 153be7be11ca34550a2a51ffa6b82fedb79eeca1..37c0a99e181ef4d9b044aeff3b8ccee8a56e91ef 100644 (file)
@@ -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";