]> git.ipfire.org Git - thirdparty/elfutils.git/commit
srcfiles: Fix --enable-gcov (BUILD_STATIC) build
authorMark Wielaard <mark@klomp.org>
Tue, 6 Feb 2024 11:34:51 +0000 (12:34 +0100)
committerMark Wielaard <mark@klomp.org>
Tue, 6 Feb 2024 11:34:51 +0000 (12:34 +0100)
commit4523fb7d6c9b75a36f743976a37986ae8533ace8
tree08e2af6e5395a89c1aecab998c28c6d02545eb19
parent75fb8c0152892873fc0a905d228f50d6dfd3dc0d
srcfiles: Fix --enable-gcov (BUILD_STATIC) build

When configuring with --enable-gcov we build most things static.
Including libdebuginfod. The src Makefile was only setup for a
shared library build of libdebuginfod.so. Fix this by providing
a static libdebuginfod in case of BUILD_STATIC.

This fixes the builder.sourceware.org elfutils-snapshots-coverage
and provides fresh coverage reports again at
https://snapshots.sourceware.org/elfutils/coverage/latest/

* Makefile.am (BUILD_STATIC): Provide libdebuginfod.a

Signed-off-by: Mark Wielaard <mark@klomp.org>
src/Makefile.am