meson: portname was set too early

Peter Eisentraut <peter@eisentraut.org>

Commit: 4b4b3467ee36d11b6bf791731532ab962b0379be
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-01-23T11:16:37Z
Releases: 17.0
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