From e54688030cfe6fd2b3f9b7f437f2f3a4b75a6b35 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Tue, 5 Nov 2024 12:25:25 +0200 Subject: [PATCH] Silence meson warning about PG_TEST_EXTRA in src/Makefile.global.in Commit 99b937a44f introduced this warning when you run "meson setup": Configuring Makefile.global using configuration ../src/meson.build:31: WARNING: The variable(s) 'PG_TEST_EXTRA' in the input file 'src/Makefile.global.in' are not present in the given configuration data. To fix, add PG_TEST_EXTRA to the list of variables that are not needed in the makefiles generated by meson. In meson builds, the makefiles are only used for PGXS, not for building or testing the server itself. Reported-by: Peter Eisentraut Discussion: https://www.postgresql.org/message-id/5c380997-e270-425a-9542-e4ef36a285de@eisentraut.org --- src/makefiles/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/makefiles/meson.build b/src/makefiles/meson.build index 850e9275845..e13938fe8ad 100644 --- a/src/makefiles/meson.build +++ b/src/makefiles/meson.build @@ -182,6 +182,7 @@ pgxs_empty = [ # Not needed because we don't build the server / PLs with the generated makefile 'LIBOBJS', 'PG_CRC32C_OBJS', 'PG_POPCNT_OBJS', 'TAS', + 'PG_TEST_EXTRA', 'DTRACEFLAGS', # only server has dtrace probes 'perl_archlibexp', 'perl_embed_ccflags', 'perl_embed_ldflags', 'perl_includespec', 'perl_privlibexp',