meson: portname was set too early
authorPeter Eisentraut
Tue, 23 Jan 2024 11:15:21 +0000 (12:15 +0100)
committerPeter Eisentraut
Tue, 23 Jan 2024 11:16:37 +0000 (12:16 +0100)
commit4b4b3467ee36d11b6bf791731532ab962b0379be
tree67af4f117d540b099a333fb71479c99875f47aaa
parent21ef4d4d897563adb2f7920ad53b734950f1e0a4
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
meson.build