]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust: kbuild: use host dylib naming in rusttestlib-kernel
authorTamir Duberstein <tamird@gmail.com>
Sat, 1 Feb 2025 17:40:38 +0000 (12:40 -0500)
committerMiguel Ojeda <ojeda@kernel.org>
Wed, 5 Feb 2025 23:15:27 +0000 (00:15 +0100)
commitb1749432a52d3605151634b000fec0361ad45067
treeb5a63d611dda971be5cb479194b230d0ed434c90
parent2014c95afecee3e76ca4a56956a936e23283f05b
rust: kbuild: use host dylib naming in rusttestlib-kernel

There seems to have been merge skew between commit b2c261fa8629 ("rust:
kbuild: expand rusttest target for macros") and commit 0730422bced5
("rust: use host dylib naming convention to support macOS") ; the latter
replaced `libmacros.so` with `$(libmacros_name)` and the former added an
instance of `libmacros.so`. The former was not yet applied when the
latter was sent, resulting in a stray `libmacros.so`. Replace the stray
with `$(libmacros_name)` to allow `rusttest` to build on macOS.

Fixes: 0730422bced5 ("rust: use host dylib naming convention to support macOS")
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Link: https://lore.kernel.org/r/20250201-fix-mac-build-again-v1-1-ca665f5d7de7@gmail.com
[ Slightly reworded title. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/Makefile