summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2009-10-19 01:49:36 +0000
committerRyan Hill <rhill@gentoo.org>2009-10-19 01:49:36 +0000
commitd337e09be3a91f40a0e9ac265fd672fa5f199f2a (patch)
tree59de838cd72c4acd0952d43704341953385e7fcc /eclass
parentAutomated update of use.local.desc (diff)
downloadhistorical-d337e09be3a91f40a0e9ac265fd672fa5f199f2a.tar.gz
historical-d337e09be3a91f40a0e9ac265fd672fa5f199f2a.tar.bz2
historical-d337e09be3a91f40a0e9ac265fd672fa5f199f2a.zip
Don't strip leading slash from libdir path.
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 767db9ac66ba..27d21554b922 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.409 2009/10/18 07:24:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.410 2009/10/19 01:49:36 dirtyepic Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -2485,7 +2485,7 @@ fix_libtool_libdir_paths() {
pushd "${D}" >/dev/null
pushd "./${1}" >/dev/null
- local dir="${PWD#${D}}"
+ local dir="${PWD#${D%/}}"
local allarchives=$(echo *.la)
allarchives="\(${allarchives// /\\|}\)"
popd >/dev/null