소스 검색

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 ?