diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-03-02 05:56:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-03-02 05:56:29 +0000 |
commit | 376294a425a3c6757482e968db2a21bcfc0630a1 (patch) | |
tree | 146dcb5260f86d4bd0f47351879d136e41cd3091 /eclass | |
parent | Version bump (diff) | |
download | gentoo-2-376294a425a3c6757482e968db2a21bcfc0630a1.tar.gz gentoo-2-376294a425a3c6757482e968db2a21bcfc0630a1.tar.bz2 gentoo-2-376294a425a3c6757482e968db2a21bcfc0630a1.zip |
install versioned symlinks for cross-compilers too #220149 by cJ
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 d5dc665fb9a6..f428a202e427 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.518 2012/02/28 23:34:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.519 2012/03/02 05:56:29 vapier Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -1478,7 +1478,7 @@ toolchain_src_install() { # this should take care of that [[ -f ${x} ]] && mv ${x} ${CTARGET}-${x} - if [[ -f ${CTARGET}-${x} ]] && ! is_crosscompile ; then + if [[ -f ${CTARGET}-${x} ]] ; then ln -sf ${CTARGET}-${x} ${x} # Create version-ed symlinks |