diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2018-06-28 18:57:49 +0200 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2018-06-28 18:59:10 +0200 |
commit | be6b9650261d4c4599dc1c878f0cf8860a0a7bc0 (patch) | |
tree | 57e8333d3be04b81e25e97e07c48d4d0d50b0301 /eclass/linux-mod.eclass | |
parent | app-emulation/nemu: version bump. (diff) | |
download | gentoo-be6b9650261d4c4599dc1c878f0cf8860a0a7bc0.tar.gz gentoo-be6b9650261d4c4599dc1c878f0cf8860a0a7bc0.tar.bz2 gentoo-be6b9650261d4c4599dc1c878f0cf8860a0a7bc0.zip |
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 <zx2c4@gentoo.org>
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r-- | eclass/linux-mod.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |