diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2025-09-24 12:28:20 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2025-09-24 12:28:20 -0400 |
commit | aadbcc40bc24362070b5d88769b62f2d62fdedfb (patch) | |
tree | 8279ccf1c5bbcb354a95130769607547063784bd | |
parent | 7ccbf6d8b5e5a4f45cb77e25f16afcf13cf1dfd3 (diff) |
Ensure guc_tables.o's dependency on guc_tables.inc.c is known.
Without this, rebuilds can malfunction unless --enable-depend is used.
Historically we've expected that you can get away without
--enable-depend as long as you manually clean after changing *.h
files; the makefiles are supposed to handle other sorts of
dependencies. So add this one.
Follow-on to 635998965, so no need for back-patch.
Discussion: https://postgr.es/m/3121329.1758650878@sss.pgh.pa.us
-rw-r--r-- | src/backend/utils/misc/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/utils/misc/Makefile b/src/backend/utils/misc/Makefile index b362ae43771..f142d17178b 100644 --- a/src/backend/utils/misc/Makefile +++ b/src/backend/utils/misc/Makefile @@ -40,6 +40,9 @@ ifdef krb_srvtab override CPPFLAGS += -DPG_KRB_SRVTAB='"$(krb_srvtab)"' endif +# Force this dependency to be known even without dependency info built: +guc_tables.o: guc_tables.c $(top_builddir)/src/backend/utils/guc_tables.inc.c + include $(top_srcdir)/src/backend/common.mk clean: |