summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier2025-12-09 23:10:28 +0000
committerMichael Paquier2025-12-09 23:10:28 +0000
commit801b4ee7fae1caa962b789e72be11dcead79dcbf (patch)
tree7a918a14ce15e4e40797ad707a099d0743acfe55 /src
parentbae9d2f892bc7733667fa68f416b5abd8dd2fc57 (diff)
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 <peter@eisentraut.org> Reviewed-by: Nazir Bilal Yavuz <byavuz81@gmail.com> Discussion: https://postgr.es/m/4423e01f-1e52-4f47-a6ca-05cc8081c888@eisentraut.org
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/meson.build3
1 files changed, 2 insertions, 1 deletions
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',