]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
meson: use identical ln arguments internally
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 29 Jan 2026 11:18:53 +0000 (11:18 +0000)
committerLucas De Marchi <demarchi@kernel.org>
Tue, 3 Feb 2026 04:59:03 +0000 (22:59 -0600)
Update the internal symlinks to also use -r/--relative, just like the
installed ones.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <demarchi@kernel.org>
Link: https://github.com/kmod-project/kmod/pull/pull/400
Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
meson.build

index 6fb3eeeb89674d4177d8321aca19a59405aaf4af..f5dc4e59ebafc6c591a2b72aa2ddda3073a5033a 100644 (file)
@@ -495,7 +495,7 @@ if get_option('tools')
 
     internal_kmod_symlinks += custom_target(
       tool,
-      command : ['ln', '-sf', kmod, '@OUTPUT@'],
+      command : ['ln', '-sfr', kmod, '@OUTPUT@'],
       output : tool,
       depends : kmod,
       build_by_default : true,