summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-01-31 17:10:02 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-07 13:30:56 +0000
commit5650ece64f55044a8fd7fa3fce692dfb17006f8f (patch)
tree234b979b5cde0c6ea39ecf6b8492165f4663a431
parent4595e4832418afc651300c88ad2b835f0aedd8bc (diff)
downloadopenembedded-core-5650ece64f55044a8fd7fa3fce692dfb17006f8f.tar.gz
openembedded-core-5650ece64f55044a8fd7fa3fce692dfb17006f8f.tar.bz2
openembedded-core-5650ece64f55044a8fd7fa3fce692dfb17006f8f.zip
valgrind: depends on boost when ptest
Fixed: drd/tests/boost_thread.cpp:5:38: fatal error: boost/thread/condition.hpp: No such file or directory #include <boost/thread/condition.hpp> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.10.1.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
index a25922ae09..543c8a62fa 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
@@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215"
X11DEPENDS = "virtual/libx11"
-DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
+DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'boost', '', d)} \
+ "
SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
file://fixed-perl-path.patch \