]> git.ipfire.org Git - thirdparty/kmod.git/commit
meson: Use short options for ln everywhere
authorHendrik Donner <hd@os-cillation.de>
Mon, 3 Mar 2025 15:13:01 +0000 (16:13 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 4 Mar 2025 15:57:17 +0000 (09:57 -0600)
commita04ea032ec46ae77d858e655407eeb34e600f7d0
tree321f0c37c6674073f014d941341f4011765d5ff0
parent8867f89ceb8154dce2266ecfbadb08f50fd95053
meson: Use short options for ln everywhere

Some implementations of ln (toybox, busybox) typically only support the
short option format, so use it consistently.

The short options are already used in other places and it's usually
supported on more implementations: -s and -f are POSIX and the few
ln that support --relative understand -r. Which are GNU coreutils,
the Rust uutils coreutils, toybox (-r only) and there is an old
patch for busybox (-r only). The BSDs and MacOS don't seem to
support --relative at all.

Signed-off-by: Hendrik Donner <hd@os-cillation.de>
Link: https://github.com/kmod-project/kmod/pull/303
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
meson.build