Преглед изворни кода

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

Corentin Salingue пре 9 година
родитељ
комит
3c1adbed0f
1 измењених фајлова са 1 додато и 0 уклоњено
  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 ?