]> git.ipfire.org Git - thirdparty/postgresql.git/commit
meson: portname was set too early
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 23 Jan 2024 11:15:21 +0000 (12:15 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 23 Jan 2024 11:16:29 +0000 (12:16 +0100)
commit8b31b689f4db9fca726a8d1bab20b89ebb3fa0b1
tree15765a653eb38cb9bad6b5543958af0b0a496e28
parentc5a6d5337170a133490c91d7f6d27ac25c47480b
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