The BUILD_STATIC build, as used by the coverage setup, was broken for
debuginfod because the DUMMY_LIBDEBUGINFOD case was mixed up. It should
include libcurl_LIBS when NOT doing a dummy build.
Signed-off-by: Mark Wielaard <mark@klomp.org>
+2020-09-08 Mark Wielaard <mark@klomp.org>
+
+ * Makefile.am (BUILD_STATIC): Include libcurl_LIBS in libdebuginfod
+ when NOT DUMMY_LIBDEBUGINFOD.
+
2020-09-16 Mark Wielaard <mark@klomp.org>
* debuginfod-find.c: Fix license block comment.
libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) $(libebl) -ldl -lpthread
libelf = ../libelf/libelf.a -lz
if DUMMY_LIBDEBUGINFOD
-libdebuginfod = ./libdebuginfod.a $(libcurl_LIBS)
-else
libdebuginfod = ./libdebuginfod.a
+else
+libdebuginfod = ./libdebuginfod.a $(libcurl_LIBS)
endif
else
libasm = ../libasm/libasm.so