1 |
commit: cd4f6bf307965aeed1117c053bbdd6cd14392dd9 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 21 18:25:02 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 21 18:28:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd4f6bf3 |
7 |
|
8 |
toolchain.eclass: fix gdb autoload path, bug #572480 |
9 |
|
10 |
Reported-and-fixed-by: Hristo Venev |
11 |
Bug: https://bugs.gentoo.org/572480 |
12 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
13 |
|
14 |
eclass/toolchain.eclass | 4 ++-- |
15 |
1 file changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass |
18 |
index d7f6f199365..06503b28f29 100644 |
19 |
--- a/eclass/toolchain.eclass |
20 |
+++ b/eclass/toolchain.eclass |
21 |
@@ -1961,8 +1961,8 @@ toolchain_src_install() { |
22 |
# for people who are testing as non-root. |
23 |
chown -R root:0 "${D}${LIBPATH}" 2>/dev/null |
24 |
|
25 |
- # Move pretty-printers to gdb datadir to shut ldconfig up |
26 |
- local py gdbdir=/usr/share/gdb/auto-load${LIBPATH/\/lib\//\/$(get_libdir)\/} |
27 |
+ # Installing gdb pretty-printers into gdb-specific location. |
28 |
+ local py gdbdir=/usr/share/gdb/auto-load${LIBPATH} |
29 |
pushd "${D}${LIBPATH}" >/dev/null |
30 |
for py in $(find . -name '*-gdb.py') ; do |
31 |
local multidir=${py%/*} |