meson: portname was set too early

Peter Eisentraut <peter@eisentraut.org>

Commit: 8b31b689f4db9fca726a8d1bab20b89ebb3fa0b1
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-01-23T11:16:29Z
Releases: 16.2
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

Files

PathChange+/−
meson.build modified +6 −6

Discussion