pgsql: meson: Stop using deprecated way getting path of files

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: Stop using deprecated way getting path of files
Date: 2023-12-01 03:26:59
Message-ID: E1r8uB8-008331-U8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

meson: Stop using deprecated way getting path of files

The just released meson 1.3 strongly deprecated a hack we were using, emitting
a noisy warning (the hack basically depended on an implementation detail to
work). Turns out there has been a better way available for a while, I just
hadn't found it. 1.4 added a more convenient approach, but we can't rely on
that.

Reviewed-by: Tristan Partin <tristan(at)neon(dot)tech>
Discussion: https://postgr.es/m/20231129185053.s6c7f73eg7b4ztfi@awork3.anarazel.de
Backpatch: 16-, where the meson build was added.

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/70516b8fc3ee77113013930efb7bfdbabcfed885

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

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2023-12-01 05:01:40 pgsql: Fix an uninitialized access in hash_xlog_squeeze_page().
Previous Message Thomas Munro 2023-12-01 02:20:46 pgsql: Adjust obsolete comment explaining set_stack_base().