From 4e2c8b80807035420346bd01980ce0a6844d770e Mon Sep 17 00:00:00 2001 From: Ismo Puustinen Date: Wed, 19 Apr 2017 13:44:48 +0300 Subject: [PATCH] beignet: add ncurses dependency. This prevents "ld: cannot find -ltinfo" error when building beignet. The required ncurses library was accidentally brought to sysroot by Python2. If Python2 is removed or compiled so that it no longer depends on ncurses, ncurses is no longer in sysroot and beignet linking fails. Signed-off-by: Ismo Puustinen --- meta-refkit/recipes-opencl/beignet/beignet.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-refkit/recipes-opencl/beignet/beignet.inc b/meta-refkit/recipes-opencl/beignet/beignet.inc index 6f9d93fd73..c71a2b4cae 100644 --- a/meta-refkit/recipes-opencl/beignet/beignet.inc +++ b/meta-refkit/recipes-opencl/beignet/beignet.inc @@ -16,7 +16,7 @@ SRCREV = "8b04f0be372da8eabdc93d6ae1b81a3c83cba284" S = "${WORKDIR}/git" # we need to depend on ocl-icd, so that the exported symbols go right -DEPENDS = "${PN}-native clang libdrm mesa ocl-icd" +DEPENDS = "${PN}-native clang libdrm mesa ocl-icd ncurses" DEPENDS_class-native = "clang-native" # To solve the PCI_ID problem, we use the target from filename for