From 376294a425a3c6757482e968db2a21bcfc0630a1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 2 Mar 2012 05:56:29 +0000 Subject: install versioned symlinks for cross-compilers too #220149 by cJ --- eclass/toolchain.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') 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 @@ -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 -- cgit v1.2.3-65-gdbad