Lines 427-433
Link Here
|
427 |
# See if the self-reference install_name points to an existing |
427 |
# See if the self-reference install_name points to an existing |
428 |
# and to be installed file. This usually is a symlink for the |
428 |
# and to be installed file. This usually is a symlink for the |
429 |
# major version. |
429 |
# major version. |
430 |
if [[ ! -e ${D}${install_name} ]] ; then |
430 |
if [[ ! -e ${D}${install_name} && ${install_name} != *"@loader_path"* ]] ; then |
431 |
eqawarn "QA Notice: invalid self-reference install_name ${install_name} in ${obj}" |
431 |
eqawarn "QA Notice: invalid self-reference install_name ${install_name} in ${obj}" |
432 |
# remember we are in an implicit subshell, that's |
432 |
# remember we are in an implicit subshell, that's |
433 |
# why we touch a file here ... ideally we should be |
433 |
# why we touch a file here ... ideally we should be |
Lines 438-444
Link Here
|
438 |
# this is ugly, paths with spaces won't work |
438 |
# this is ugly, paths with spaces won't work |
439 |
reevaluate=0 |
439 |
reevaluate=0 |
440 |
for lib in $(echo ${needed} | tr , ' '); do |
440 |
for lib in $(echo ${needed} | tr , ' '); do |
441 |
if [[ ! -e ${lib} && ! -e ${D}${lib} && ${lib} != *"@executable_path"* ]] ; then |
441 |
if [[ ! -e ${lib} && ! -e ${D}${lib} && ${lib} != *"@executable_path"* \ |
|
|
442 |
&& ${lib} != *"@loader_path"* ]] ; then |
442 |
# try to "repair" this if possible, happens because of |
443 |
# try to "repair" this if possible, happens because of |
443 |
# gen_usr_ldscript tactics |
444 |
# gen_usr_ldscript tactics |
444 |
s=${lib%usr/*}${lib##*/usr/} |
445 |
s=${lib%usr/*}${lib##*/usr/} |