Add missing dependency of pg_dumpall to WIN32RES.
authorAndres Freund
Tue, 22 Mar 2022 15:22:02 +0000 (08:22 -0700)
committerAndres Freund
Tue, 22 Mar 2022 15:28:52 +0000 (08:28 -0700)
commitf183e23cc8a9107b6a8ddc7f16b97da926fddf94
tree479c0c7fbc7b2ccb025091bae17f30a94cead9f8
parentf32be9938ca48d9658eaf29a30c78f855d36e97a
Add missing dependency of pg_dumpall to WIN32RES.

When cross-building to windows, or building with mingw on windows, the build
could fail with
  x86_64-w64-mingw32-gcc: error: win32ver.o: No such file or director
because pg_dumpall didn't depend on WIN32RES, but it's recipe references
it. The build nevertheless succeeded most of the time, due to
pg_dump/pg_restore having the required dependency, causing win32ver.o to be
built.

Reported-By: Thomas Munro
Discussion: https://postgr.es/m/CA+hUKGJeekpUPWW6yCVdf9=oBAcCp86RrBivo4Y4cwazAzGPng@mail.gmail.com
Backpatch: 10-, omission present on all live branches
src/bin/pg_dump/Makefile