From be6b9650261d4c4599dc1c878f0cf8860a0a7bc0 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 28 Jun 2018 18:57:49 +0200 Subject: [PATCH] linux-mod: depend on libelf Recent linux kernels rely on libelf at build time, which includes at the time of building out of tree modules. So if a module is relying on the existence of linux sources, it also needs to rely on libelf being installed. Signed-off-by: Jason A. Donenfeld --- eclass/linux-mod.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index bf580cf4cfa9..e5b5ec782f0c 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -150,7 +150,7 @@ RDEPEND="${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (} kernel_linux? ( vir DEPEND="${RDEPEND} ${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (} sys-apps/sed - kernel_linux? ( virtual/linux-sources ) + kernel_linux? ( virtual/linux-sources virtual/libelf ) ${MODULES_OPTIONAL_USE:+)}" # eclass utilities -- 2.26.2