ソースを参照

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 ?