]> code.ossystems Code Review - openembedded-core.git/commitdiff
libevdev: add libcheck dependency
authorAndre McCurdy <armccurdy@gmail.com>
Fri, 3 Nov 2017 20:29:20 +0000 (13:29 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Nov 2017 14:42:58 +0000 (14:42 +0000)
The libevdev configure script contains an unconditional check for
libcheck. If libcheck is found, libevdev unit tests will be built.

Without a dependency, the presence of libcheck in sysroot is non
deterministic (in morty and earlier) and builds can fail if libcheck
is available during do_configure but not during do_compile.

(In pyro and later, the libcheck dependency is not required to make
libevdev builds deterministic due to recipe specific sysroots).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-support/libevdev/libevdev_1.5.2.bb

index c76e1d79f7c39371e3799754d65421ddcfcbe488..381d2525b4a546f7ea17db74caa2cccc6efe0da8 100644 (file)
@@ -6,6 +6,8 @@ LICENSE = "MIT-X"
 LIC_FILES_CHKSUM = "file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb \
                     file://libevdev/libevdev.h;endline=21;md5=7ff4f0b5113252c2f1a828e0bbad98d1"
 
+DEPENDS = "libcheck"
+
 SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz"
 
 SRC_URI[md5sum] = "96ad6edb5ce5c4428f1b183cc180ff8c"