From: Fabian Groffen Date: Sun, 24 Oct 2010 13:07:40 +0000 (+0200) Subject: don't allow install_names referencing ${S} X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9c01ccae5ee7fd4dd939c66298928306067ce715;p=portage.git don't allow install_names referencing ${S} --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 337376684..1dc0f0a2b 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -920,6 +920,9 @@ install_qa_check_macho() { if [[ ${lib} == ${D}* ]] ; then eqawarn "QA Notice: install_name references \${D}: ${lib} in ${obj}" touch "${T}"/.install_name_check_failed + elif [[ ${lib} == ${S}* ]] ; then + eqawarn "QA Notice: install_name references \${S}: ${lib} in ${obj}" + touch "${T}"/.install_name_check_failed elif [[ ! -e ${lib} && ! -e ${D}${lib} && ${lib} != "@executable_path/"* && ${lib} != "@loader_path/"* ]] ; then # try to "repair" this if possible, happens because of # gen_usr_ldscript tactics