summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-15 03:12:15 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-15 03:12:15 +0000
commit073e0e95e342c061c531311fe4c802f2cffc42e6 (patch)
tree6c846c218553b14444cb3f4895ac425332ee3824 /eclass
parentVersion bump. Bug #129386. (diff)
downloadhistorical-073e0e95e342c061c531311fe4c802f2cffc42e6.tar.gz
historical-073e0e95e342c061c531311fe4c802f2cffc42e6.tar.bz2
historical-073e0e95e342c061c531311fe4c802f2cffc42e6.zip
check for libstdc++.so rather than libstdc++.la
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass10
1 files changed, 7 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index b52f8cd2b134..ee9ac1b92a94 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.280 2006/05/11 19:31:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.281 2006/05/15 03:12:15 vapier Exp $
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GPL-2 LGPL-2.1"
@@ -909,9 +909,13 @@ gcc-compiler_pkg_postrm() {
# ROOT isnt handled by the script
[[ ${ROOT} != "/" ]] && return 0
- if [[ ! -e ${LIBPATH}/libstdc++.la ]] ; then
+ if [[ ! -e ${LIBPATH}/libstdc++.so ]] ; then
+ einfo "Running 'fix_libtool_files.sh ${GCC_RELEASE_VER}'"
/sbin/fix_libtool_files.sh ${GCC_RELEASE_VER}
- [[ -z ${BRANCH_UPDATE} ]] || /sbin/fix_libtool_files.sh ${GCC_RELEASE_VER}-${BRANCH_UPDATE}
+ if [[ -n ${BRANCH_UPDATE} ]] ; then
+ einfo "Running 'fix_libtool_files.sh ${GCC_RELEASE_VER}-${BRANCH_UPDATE}'"
+ /sbin/fix_libtool_files.sh ${GCC_RELEASE_VER}-${BRANCH_UPDATE}
+ fi
fi
return 0