pgsql: meson: portname was set too early

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: portname was set too early
Date: 2024-01-23 11:20:27
Message-ID: E1rSEpP-002iz6-W5@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

meson: portname was set too early

portname is set to host_system, but host_system might still be changed
later in the file. As a consequence, platforms where host_system is
changed later wouldn't find some of their platform-specific files
(driven by portname), and the build would fail. Move the assignment
of portname further down after the last change of host_system (but
before further overriding assignments to portname).

Discussion: https://www.postgresql.org/message-id/flat/CAC7zN94TdsHhY88XkroJzSMx7E%3DBQpV9LKKjNSEnTM04ihoWCA%40mail.gmail.com

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8b31b689f4db9fca726a8d1bab20b89ebb3fa0b1

Modified Files
--------------
meson.build | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-01-23 12:33:17 pgsql: doc: Add acronym and glossary term for Access Method
Previous Message Heikki Linnakangas 2024-01-23 08:56:22 pgsql: Revert "libpqwalreceiver: Convert to libpq-be-fe-helpers.h"