From: Frank Ch. Eigler Date: Fri, 6 Sep 2024 23:26:36 +0000 (-0400) Subject: debuginfod: Make sure extra libs are also included in static link in src/ too X-Git-Tag: elfutils-0.192~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09d237b83c5d73a514b22e3bb269fd41b7aa0562;p=thirdparty%2Felfutils.git debuginfod: Make sure extra libs are also included in static link in src/ too commit 742fb81f3 did most of the work for supporting --enable-gcov, but one debuginfod client is hiding in the src/ directory, namely srcfiles, which also needs this enumeration of dependent libraries for static linkage. Signed-off-by: Frank Ch. Eigler --- diff --git a/src/Makefile.am b/src/Makefile.am index ffa3d252..e0267d96 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -46,7 +46,7 @@ libasm = ../libasm/libasm.a libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) -ldl -lpthread libelf = ../libelf/libelf.a -lz $(zstd_LIBS) if LIBDEBUGINFOD -libdebuginfod = ../debuginfod/libdebuginfod.a -lpthread $(libcurl_LIBS) +libdebuginfod = ../debuginfod/libdebuginfod.a -lpthread $(libcurl_LIBS) $(crypto_LIBS) $(jsonc_LIBS) else libdebuginfod = endif