pgsql: meson: windows: Fix tmp_install + prefix computation with meson

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: windows: Fix tmp_install + prefix computation with meson
Date: 2023-02-24 03:53:02
Message-ID: E1pVP8n-000P2Q-Rw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

meson: windows: Fix tmp_install + prefix computation with meson 1.0.1

In d0366bfb3b21 I said:
Instead of trying to do this in meson.build, call out to the implementation
meson install uses. This isn't pretty, but it's more reliable than what we had
before.

Unfortunately it was too ugly - to fix a bug, meson 1.0.1 changed the way the
meson internal runpython helper works, resulting in the previous sys.argv[]
indices not working anymore. Just open-code it - it's just a few characters
longer.

Committing this quickly to allow ci/cfbot to work with meson 1.0.1 on windows.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4fc53819a45fe6e7233a69bb279557b2070dcc40

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-02-24 07:08:29 pgsql: Fix incorrect format placeholders
Previous Message Justin Pryzby 2023-02-24 01:07:16 Re: pgsql: Refactor to add pg_strcoll(), pg_strxfrm(), and variants.