summaryrefslogtreecommitdiff
path: root/debuginfod
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2020-09-08 14:12:28 +0200
committerMark Wielaard <mark@klomp.org>2020-09-17 23:05:26 +0200
commite39b33d6bee578eceb27482fbce55e5c5516821b (patch)
treee536743e213f060f76947edbe94a4046f0fd4a1d /debuginfod
parent4438f03c858517b0fab0127a05ed994c79705d4f (diff)
downloadelfutils-e39b33d6bee578eceb27482fbce55e5c5516821b.tar.gz
debuginfod: Fix BUILD_STATIC build.
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>
Diffstat (limited to 'debuginfod')
-rw-r--r--debuginfod/ChangeLog5
-rw-r--r--debuginfod/Makefile.am4
2 files changed, 7 insertions, 2 deletions
diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog
index d9efa81e..a8e0ac5e 100644
--- a/debuginfod/ChangeLog
+++ b/debuginfod/ChangeLog
@@ -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.
diff --git a/debuginfod/Makefile.am b/debuginfod/Makefile.am
index 2e8a343c..01985600 100644
--- a/debuginfod/Makefile.am
+++ b/debuginfod/Makefile.am
@@ -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