blob: 206ebca70e9d86d170b9e2ecfb2371e45aeb0676 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Id$
# 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
|