also ignore @loader_path entries when checking install_names
authorFabian Groffen <grobian@gentoo.org>
Tue, 19 May 2009 19:10:35 +0000 (19:10 -0000)
committerFabian Groffen <grobian@gentoo.org>
Tue, 19 May 2009 19:10:35 +0000 (19:10 -0000)
svn path=/main/branches/prefix/; revision=13625

bin/misc-functions.sh

index 2c0dedf3546fbef410e0adcbede1b83d6c8157d1..f97efbce8793946cb58551c21a01c45767b86594 100644 (file)
@@ -438,7 +438,7 @@ install_qa_check() {
                # 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/}