]> 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 17:41:41 +0000 (11:41 -0600)
commit2f71db67038402ed337180ebd922cc7dd5cf658b
tree3e46585e3eb3e28858705d3d43fd70ef5e81954c
parent13dd6e38565fefd2b8c7a305006c9d6813755505
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