Skip to contentSkip to conversation

tools: ynltool: remove -lmnl from link flags

PATCH Applied Jakub Kicinski 3 participants 3 messages Nov 15, 2025 – Nov 18, 2025

Subsystems (3)
lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH 1/1 tools: ynltool: remove -lmnl from link flags

The libmnl dependency has been removed from libynl back in commit 73395b43819b ("tools: ynl: remove the libmnl dependency") Remove it from the ynltool Makefile.

---
CC: [email protected]
CC: [email protected]

---
 tools/net/ynl/ynltool/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/net/ynl/ynltool/Makefile +1 -1
index 5edaa0f93237..f5b1de32daa5 100644
@@ -31,7 +31,7 @@ Q = @
 
 $(YNLTOOL): ../libynl.a $(OBJS)
 	$(Q)echo -e "\tLINK $@"
-	$(Q)$(CC) $(CFLAGS) -o $@ $(OBJS) ../libynl.a -lmnl -lm
+	$(Q)$(CC) $(CFLAGS) -o $@ $(OBJS) ../libynl.a -lm
 
 %.o: %.c ../libynl.a
 	$(Q)echo -e "\tCC $@"
Signature · 1 line
2.51.1
#2 lore raw
In reply to Jakub Kicinski
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 10 lines · On Sat, 15 Nov 2025 14:55:08 -0800 you wrote:

The libmnl dependency has been removed from libynl back in commit 73395b43819b ("tools: ynl: remove the libmnl dependency") Remove it from the ynltool Makefile.

---
CC: [email protected]
CC: [email protected]

[...]

Here is the summary with links:
- [net-next] tools: ynltool: remove -lmnl from link flags

    https://git.kernel.org/netdev/net-next/c/40ea40853da9

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html