1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: kdumpid: Unconditionally link with zlib
Since uncompress_config() uses functions from zlib, kdumpid must link with
ZLIB. It may work without it, because ZLIB is often added as a dependency
for libbfd, but we should not rely on it.
Author: Petr Tesarik <petr@tesarici.cz>
Origin: upstream, https://github.com/ptesarik/libkdumpfile/commit/7f708488982609235b0417264fe3e45d94a23618
Last-Update: 2025-02-24
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
diff --git a/tools/kdumpid/Makefile.am b/tools/kdumpid/Makefile.am
index 59c5381e..54debc8a 100644
--- a/tools/kdumpid/Makefile.am
+++ b/tools/kdumpid/Makefile.am
@@ -23,9 +23,13 @@ AM_CPPFLAGS = -I$(top_builddir)/include \
-DVER_MAJOR=$(KDUMPID_VER_MAJOR) \
-DVER_MINOR=$(KDUMPID_VER_MINOR)
+AM_CFLAGS = \
+ $(ZLIB_CFLAGS)
+
LIBS = \
$(top_builddir)/src/kdumpfile/libkdumpfile.la \
$(top_builddir)/src/addrxlat/libaddrxlat.la \
+ $(ZLIB_LIBS) \
$(DIS_ASM_LIBS)
kdumpid_SOURCES = \
|