collectd: fix build failure with libnotify in sysroot
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 16 May 2013 10:55:01 +0000 (10:55 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:30:31 +0000 (08:30 -0800)
If libnotify is in the sysroot, collectd will try to use it and then
fail at do_compile because gtk/gtk.h can't be found. Since this is
functionality that's not likely to be needed in the embedded context as
far as collectd goes, just disable it.

(From meta-openembedded rev: b1095d11bdb33648bc4f1394146804cd9734b223)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb

index a508840..8641530 100644 (file)
@@ -26,6 +26,7 @@ EXTRA_OECONF = " \
                 ${FPLAYOUT} \
                 --disable-perl --with-libperl=no --with-perl-bindings=no \
                 --with-libgcrypt=${STAGING_BINDIR_CROSS}/libgcrypt-config \
+                --disable-notify_desktop \
 "
 
 do_install_append() {