Patchwork gstreamer: Fix valgrind header detection

login
register
mail settings
Submitter Richard Purdie
Date March 3, 2014, 3:48 p.m.
Message ID <1393861713.31845.15.camel@ted>
Download mbox | patch
Permalink /patch/67873/
State Accepted
Commit 1d2a6da852b42a84f73e8e68a21a77dea5baee3e
Headers show

Comments

Richard Purdie - March 3, 2014, 3:48 p.m.
--disable-valgrind isn't enough, it also looks for the header since the binary
may be present without the -dev headers. Add in a configure value to
ensure the header is disabled as well.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
index 479fb3a..a01c33c 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
@@ -19,6 +19,8 @@  EXTRA_OECONF = "--disable-docbook --disable-gtk-doc \
 RRECOMMENDS_${PN}_qemux86    += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"
 RRECOMMENDS_${PN}_qemux86-64 += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"
 
+CACHED_CONFIGUREVARS += "ac_cv_header_valgrind_valgrind_h=no"
+
 FILES_${PN} += " ${libdir}/gstreamer-1.0/*.so"
 FILES_${PN}-dev += " ${libdir}/gstreamer-1.0/*.la ${libdir}/gstreamer-1.0/*.a"
 FILES_${PN}-dbg += " ${libdir}/gstreamer-1.0/.debug/ ${libexecdir}/gstreamer-1.0/.debug/"