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 <zx2c4@gentoo.org>
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