--- ./src/backend/Makefile.orig 2022-02-07 23:15:36.000000000 +0200 +++ ./src/backend/Makefile 2022-02-23 20:23:06.868037000 +0200 @@ -116,6 +116,8 @@ $(top_builddir)/src/port/libpgport_srv.a: | submake-libpgport +symlinks: $(top_builddir)/src/include/parser/gram.h $(top_builddir)/src/include/storage/lwlocknames.h + # The postgres.o target is needed by the rule in Makefile.global that # creates the exports file when MAKE_EXPORTS = true.