]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
debuginfod: Fix BUILD_STATIC build.
authorMark Wielaard <mark@klomp.org>
Tue, 8 Sep 2020 12:12:28 +0000 (14:12 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 17 Sep 2020 21:05:26 +0000 (23:05 +0200)
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>
debuginfod/ChangeLog
debuginfod/Makefile.am

index d9efa81ef87987d367d589f9228b10dae9e457f2..a8e0ac5ecf0f88c3c27d9088c73f03a9e3eecaf9 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 2e8a343ca4dc817dec9279accd09b645bc09e189..01985600ed3b36b8e381a3aad2a4f24e89adcf80 100644 (file)
@@ -46,9 +46,9 @@ libasm = ../libasm/libasm.a
 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