gstreamer: Fix valgrind header detection
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Mar 2014 15:48:33 +0000 (15:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Mar 2014 15:50:20 +0000 (15:50 +0000)
--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.

(From OE-Core rev: 4f42aefed6f6edb8d057b204b82e4a05fff2dff0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/gstreamer/gstreamer1.0.inc

index 479fb3a..a01c33c 100644 (file)
@@ -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/"