Procházet zdrojové kódy

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

Corentin Salingue před 9 roky
rodič
revize
3c1adbed0f
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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 ?