]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: drop ln --relative check
authorq66 <q66@chimera-linux.org>
Sat, 6 Dec 2025 16:53:29 +0000 (17:53 +0100)
committerq66 <q66@chimera-linux.org>
Mon, 8 Dec 2025 20:35:28 +0000 (21:35 +0100)
The coreutils release that included this was in 2012. Since then,
systemd requires a newer meson, mostly uses install_symlink, and
so on. Additionally, where it does use this feature, it uses the
'-r' short flag. There are implementations of 'ln' that do have
support for '-r' but no longopts. Things will still work on those
but this check will fail.

meson.build

index b4066e04f84860301e6d12e431cfc7d56ff5d11c..7fb845622dce40a58fb7d0105c76fe4e43534d4e 100644 (file)
@@ -659,10 +659,6 @@ foreach prog : progs
         conf.set_quoted(name, path)
 endforeach
 
-if run_command(ln, '--relative', '--help', check : false).returncode() != 0
-        error('ln does not support --relative (added in coreutils 8.16)')
-endif
-
 #####################################################################
 
 gperf_test_format = '''