From 9c01ccae5ee7fd4dd939c66298928306067ce715 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 24 Oct 2010 15:07:40 +0200 Subject: [PATCH] don't allow install_names referencing ${S} --- bin/misc-functions.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.26.2