1 |
commit: 948cd2f9cd1634732f3e114b8179157a8df6b520 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 12 08:37:02 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 12 09:27:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=948cd2f9 |
7 |
|
8 |
sys-devel/llvm: Install missing Fuzzer libraries in 5.0.9999 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/636840 |
11 |
|
12 |
sys-devel/llvm/llvm-5.0.9999.ebuild | 5 +++++ |
13 |
1 file changed, 5 insertions(+) |
14 |
|
15 |
diff --git a/sys-devel/llvm/llvm-5.0.9999.ebuild b/sys-devel/llvm/llvm-5.0.9999.ebuild |
16 |
index 9d4b6f4c4e4..cbd8b43b170 100644 |
17 |
--- a/sys-devel/llvm/llvm-5.0.9999.ebuild |
18 |
+++ b/sys-devel/llvm/llvm-5.0.9999.ebuild |
19 |
@@ -212,6 +212,11 @@ multilib_src_install() { |
20 |
rm -rf "${ED%/}"/usr/include || die |
21 |
mv "${ED%/}"/usr/lib/llvm/${SLOT}/include "${ED%/}"/usr/include || die |
22 |
|
23 |
+ # install fuzzer libraries for clang (cmake rules were added in 6) |
24 |
+ # https://bugs.gentoo.org/636840 |
25 |
+ into "/usr/lib/llvm/${SLOT}" |
26 |
+ dolib.a "$(get_libdir)"/libLLVMFuzzer*.a |
27 |
+ |
28 |
LLVM_LDPATHS+=( "${EPREFIX}/usr/lib/llvm/${SLOT}/$(get_libdir)" ) |
29 |
} |