From 6345c1cca2e790e3f7e495d2d1b70a179570ead4 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 29 Jun 2018 11:49:51 +1000 Subject: [PATCH] configure.ac: fix the gcov linker flags Presumably this worked, but it certainly doesn't work anymore (neither on RHEL7 nor on Fedora 28) Signed-off-by: Peter Hutterer --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3fe8746..5ed6e6f 100644 --- a/configure.ac +++ b/configure.ac @@ -122,7 +122,7 @@ AC_ARG_ENABLE([gcov], AS_IF([test "x$enable_gcov" != "xno"], [ GCOV_CFLAGS="-fprofile-arcs -ftest-coverage" - GCOV_LDFLAGS="-fprofile-arcs -ftest-coverage" + GCOV_LDFLAGS="-lgcov" enable_gcov=yes ], )