diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2009-10-19 01:49:36 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2009-10-19 01:49:36 +0000 |
commit | 0170e4ed957e1b3bb43a63282153317b98b93bd7 (patch) | |
tree | 2ca5beaa48fb537ba1ab0757127c63aba2f8cb3b /eclass | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-0170e4ed957e1b3bb43a63282153317b98b93bd7.tar.gz gentoo-2-0170e4ed957e1b3bb43a63282153317b98b93bd7.tar.bz2 gentoo-2-0170e4ed957e1b3bb43a63282153317b98b93bd7.zip |
Don't strip leading slash from libdir path.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
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 |