summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-08-21 19:25:02 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-08-21 19:28:20 +0100
commitcd4f6bf307965aeed1117c053bbdd6cd14392dd9 (patch)
treea206db12e5f11d647541595f2bb646d2abf4b0c1 /eclass
parentnet-vpn/tor: version bump to 0.4.1.5 (diff)
downloadgentoo-cd4f6bf307965aeed1117c053bbdd6cd14392dd9.tar.gz
gentoo-cd4f6bf307965aeed1117c053bbdd6cd14392dd9.tar.bz2
gentoo-cd4f6bf307965aeed1117c053bbdd6cd14392dd9.zip
toolchain.eclass: fix gdb autoload path, bug #572480
Reported-and-fixed-by: Hristo Venev Bug: https://bugs.gentoo.org/572480 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index d7f6f1993652..06503b28f29b 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1961,8 +1961,8 @@ toolchain_src_install() {
# for people who are testing as non-root.
chown -R root:0 "${D}${LIBPATH}" 2>/dev/null
- # Move pretty-printers to gdb datadir to shut ldconfig up
- local py gdbdir=/usr/share/gdb/auto-load${LIBPATH/\/lib\//\/$(get_libdir)\/}
+ # Installing gdb pretty-printers into gdb-specific location.
+ local py gdbdir=/usr/share/gdb/auto-load${LIBPATH}
pushd "${D}${LIBPATH}" >/dev/null
for py in $(find . -name '*-gdb.py') ; do
local multidir=${py%/*}