svn path=/main/branches/prefix/; revision=13625
# this is ugly, paths with spaces won't work
reevaluate=0
for lib in $(echo ${needed} | tr , ' '); do
- if [[ ! -e ${lib} && ! -e ${D}${lib} && ${lib} != *"@executable_path"* ]] ; then
+ if [[ ! -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
s=${lib%usr/*}${lib##*/usr/}