]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: Use `fs.relative_to()` instead of `realpath`
authorvad <vad.sol@proton.me>
Sun, 24 May 2026 17:57:15 +0000 (19:57 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 24 May 2026 21:38:07 +0000 (22:38 +0100)
commite32656c2a97b2f28a659dd38f9d9db22062ecf3a
treecb54c09890422b01f2068cdb6565ed472198afa9
parentd60cf3702a6b8afb9d47bdaf026f489df984990e
meson: Use `fs.relative_to()` instead of `realpath`

When building with Meson >=1.3.0, use the native `fs.relative_to()`
helper instead of shelling out to `realpath`.

This is more portable: BusyBox `realpath` does not support the
`--relative-to` option.
meson.build