Browse Source

Add missing lib to compile with --enable-coverage for gcov

Corentin Salingue 9 years ago
parent
commit
3c1adbed0f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      configure.ac

+ 1 - 0
configure.ac

@@ -1530,6 +1530,7 @@ if test x$enable_coverage = xyes; then
 	CFLAGS="${CFLAGS} --coverage"
 	CXXFLAGS="${CXXFLAGS} --coverage"
 	LDFLAGS="${LDFLAGS} --coverage"
+	LIBS="${LIBS} -lgcov"
 fi
 
 # shall we use FxT to generate trace of the execution ?