eina: fix build when valgrind is not in a standard location.

Patch by Raphael Kubo da Costa <rakuco@freebsd.org>.


SVN revision: 69456
This commit is contained in:
Cedric BAIL 2012-03-16 11:25:14 +00:00
parent d33ab03b43
commit 9f4dd88b41
4 changed files with 8 additions and 3 deletions

View File

@ -237,3 +237,7 @@
2012-03-14 Cedric Bail
* Fix a dead lock in Eina_File.
2012-03-16 Raphael Kubo da Costa
* Adjust Valgrind's CFLAGS to fix the build when it is in a non-default location.

View File

@ -6,7 +6,8 @@ AM_CPPFLAGS = \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
@EFL_EINA_BUILD@
@EFL_EINA_BUILD@ \
@VALGRIND_CFLAGS@
base_sources = \
eina_accessor.c \

View File

@ -52,7 +52,7 @@
#include "eina_private.h"
#ifndef NVALGRIND
# include <valgrind/memcheck.h>
# include <memcheck.h>
#endif
#if defined DEBUG || defined EINA_DEBUG_MALLOC

View File

@ -42,7 +42,7 @@
#include "eina_lock.h"
#ifndef NVALGRIND
# include <valgrind/memcheck.h>
# include <memcheck.h>
#endif
#include "eina_private.h"