[PPL-devel] [GIT] ppl/ppl(master): Add -lgcov to extra_libraries when configuring with coverage enabled.
Enea Zaffanella
zaffanella at cs.unipr.it
Thu Jun 11 00:28:56 CEST 2009
Module: ppl/ppl
Branch: master
Commit: 6eb78d62f22482b0fd5fbc0f63fe567aafa9f257
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=6eb78d62f22482b0fd5fbc0f63fe567aafa9f257
Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date: Thu Jun 11 00:25:38 2009 +0200
Add -lgcov to extra_libraries when configuring with coverage enabled.
Fixes a link bug when trying to compute coverage for the OCaml interface tests.
---
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 0e13e32..af6ee86 100644
--- a/configure.ac
+++ b/configure.ac
@@ -241,6 +241,7 @@ yes)
AC_MSG_RESULT(yes)
OPT_FLAGS="-g"
COMP_FLAGS="$COMP_FLAGS -fprofile-arcs -ftest-coverage"
+ extra_libraries="${extra_libraries} -lgcov"
;;
no)
AC_MSG_RESULT(no)
More information about the PPL-devel
mailing list