File kdumpid-libkdumpfile-libs.patch of Package kdumpid
From: Petr Tesarik <ptesarik@suse.cz>
Subject: Do not try to link additional libraries needed by libkdumpfile
Patch-mainline: not yet
While these libraries would be needed for static linking, they are not
required for dynamic linking, which is done here.
Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ MANDIR=$(PREFIX)/man
endif
CUSTOM_CFLAGS=
-LIBS += -lkdumpfile -lz -llzo2 -lsnappy -lopcodes -lbfd -liberty -ldl
+LIBS += -lkdumpfile -lz -lopcodes -lbfd -liberty -ldl
LD=ld