From c421e519b0e834053023a600e8cad5b77173b4ad Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Tue, 1 Dec 2015 15:30:04 -0800 Subject: [PATCH] efl: fix build failure when it builds with coverage. Summary: When src/bin/efl/ builds with [--with-tests=coverage], it fails to find gcov lib. The gcov/lcov related options has to be passed when it is builded. And it only contained in EFL_CFLAGS, EFL_LIBS. @fix Test Plan: Be sure the your enviroments to build src/bin/efl/. 1. Run ./autogen.sh --with-tests=coverage 2. make or make check 3. See the build errors. Reviewers: raster, jpeg, cedric Reviewed By: cedric Subscribers: herdsman Differential Revision: https://phab.enlightenment.org/D3370 Signed-off-by: Cedric BAIL --- src/Makefile_Efl.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am index ea0809d..aad9686 100644 --- a/src/Makefile_Efl.am +++ b/src/Makefile_Efl.am @@ -90,7 +90,7 @@ bin/efl/efl_debugd.c \ bin/efl/efl_debug_common.c \ bin/efl/efl_debug_common.h bin_efl_efl_debugd_CPPFLAGS = -I$(top_builddir)/src/bin/efl @EINA_CFLAGS@ @ECORE_CFLAGS@ @ECORE_CON_CFLAGS@ -bin_efl_efl_debugd_LDADD = @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@ +bin_efl_efl_debugd_LDADD = @EFL_LIBS@ @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@ bin_efl_efl_debugd_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@ bin_efl_efl_debug_SOURCES = \ @@ -98,6 +98,6 @@ bin/efl/efl_debug.c \ bin/efl/efl_debug_common.c \ bin/efl/efl_debug_common.h bin_efl_efl_debug_CPPFLAGS = -I$(top_builddir)/src/bin/efl @EINA_CFLAGS@ @ECORE_CFLAGS@ @ECORE_CON_CFLAGS@ -bin_efl_efl_debug_LDADD = @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@ +bin_efl_efl_debug_LDADD = @EFL_LIBS@ @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@ bin_efl_efl_debug_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@ -- 2.7.4