summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-09 04:53:23 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-09 04:53:23 +0000
commitcbdb98c665629403aa274747867a8d4c0872df90 (patch)
treec0886965c0b21e477bd573d3a024a37f986e2f52 /sys-libs/glibc/files/eblits/src_install.eblit
parentVersion bump. (diff)
downloadgentoo-2-cbdb98c665629403aa274747867a8d4c0872df90.tar.gz
gentoo-2-cbdb98c665629403aa274747867a8d4c0872df90.tar.bz2
gentoo-2-cbdb98c665629403aa274747867a8d4c0872df90.zip
Symlink /lib to the default ABI, not to a hardcoded default.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/glibc/files/eblits/src_install.eblit')
-rw-r--r--sys-libs/glibc/files/eblits/src_install.eblit6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-libs/glibc/files/eblits/src_install.eblit b/sys-libs/glibc/files/eblits/src_install.eblit
index 4208d1039851..00680eaf2221 100644
--- a/sys-libs/glibc/files/eblits/src_install.eblit
+++ b/sys-libs/glibc/files/eblits/src_install.eblit
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit,v 1.17 2011/11/16 16:07:46 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit,v 1.18 2011/12/09 04:53:23 vapier Exp $
toolchain-glibc_src_install() {
local GBUILDDIR
@@ -80,11 +80,11 @@ toolchain-glibc_src_install() {
if [[ ${SYMLINK_LIB} == "yes" ]] && has_multilib_profile ; then
case $(tc-arch) in
amd64)
- [[ ! -e ${D}/lib ]] && dosym $(get_abi_LIBDIR amd64) /lib
+ [[ ! -e ${D}/lib ]] && dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /lib
dosym ../$(get_abi_LIBDIR x86)/ld-linux.so.2 /lib/ld-linux.so.2
;;
ppc64)
- [[ ! -e ${D}/lib ]] && dosym $(get_abi_LIBDIR ppc64) /lib
+ [[ ! -e ${D}/lib ]] && dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /lib
dosym ../$(get_abi_LIBDIR ppc)/ld.so.1 /lib/ld.so.1
;;
esac