From 801b4ee7fae1caa962b789e72be11dcead79dcbf Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Wed, 10 Dec 2025 08:10:28 +0900 Subject: [PATCH] Fix meson warning due to missing declaration of NM The warning was showing up in the early stages of the meson build, when the contents of Makefile.global is generated based on the configuration of meson for PGXS. NM is added to pgxs_empty. This declaration is only used internally for the libpq sanity check, so there is no point in exposing it in PGXS. Oversight in 4a8e6f43a6b5. Reported-by: Peter Eisentraut Reviewed-by: Nazir Bilal Yavuz Discussion: https://postgr.es/m/4423e01f-1e52-4f47-a6ca-05cc8081c888@eisentraut.org --- src/makefiles/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/makefiles/meson.build b/src/makefiles/meson.build index 0def244c901..c6edf14ec44 100644 --- a/src/makefiles/meson.build +++ b/src/makefiles/meson.build @@ -154,9 +154,10 @@ pgxs_bins = { pgxs_empty = [ 'ICU_CFLAGS', # needs to be added, included by public server headers - # hard to see why we'd need either? + # hard to see why we'd need these ones? 'ZIC', 'TCLSH', + 'NM', # docs don't seem to be supported by pgxs 'XMLLINT', -- 2.39.5