aboutsummaryrefslogtreecommitdiff
blob: e73cb47554a61954c53c6629b88b02a03173230d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/sunos/solaris/profile.bashrc,v 1.1 2012/11/10 09:46:11 grobian Exp $

# Automatically determine whether or not gen_usr_ldscript should be
# doing something or not.  This is necessary due to previous screwups,
# which may have lead to people bootstrapping already without
# gen_usr_ldscript being active, while existing installs should remain
# untouched for now.
if [[ -z ${PREFIX_DISABLE_GEN_USR_LDSCRIPT} ]] ; then
	[[ ! -e ${EPREFIX}/lib/libz.so.1 ]] \
		&& PREFIX_DISABLE_GEN_USR_LDSCRIPT=yes
fi