]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
debuginfod: Make sure extra libs are also included in static link in src/ too
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 6 Sep 2024 23:26:36 +0000 (19:26 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 6 Sep 2024 23:29:28 +0000 (19:29 -0400)
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 <fche@redhat.com>
src/Makefile.am

index ffa3d252e72d292127f8ab849a90cc50bf763b6f..e0267d96f60dc32a41ddd56a245a296f19e77e9c 100644 (file)
@@ -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