Fix typo in check for shared libraries lacking NEEDED entries.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Thu, 15 Apr 2010 23:18:50 +0000 (01:18 +0200)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Thu, 15 Apr 2010 23:18:50 +0000 (01:18 +0200)
bin/misc-functions.sh

index 39d8ca3dcb224662fb20c5e7313861bfedd574f9..2fd0491981d0505f1385e47c92da276284666a31 100755 (executable)
@@ -279,7 +279,7 @@ install_qa_check() {
                # Check for shared libraries lacking NEEDED entries
                qa_var="QA_DT_NEEDED_${ARCH/-/_}"
                eval "[[ -n \${!qa_var} ]] && QA_DT_NEEDED=(\"\${${qa_var}[@]}\")"
-               f=$(scanelf -ByF '%n %p' "${D}"{,usr/}lib*.so* | gawk '$2 == "" { print }' | sed -e "s:^[[:space:]]${D}:/:")
+               f=$(scanelf -ByF '%n %p' "${D}"{,usr/}lib*/lib*.so* | gawk '$2 == "" { print }' | sed -e "s:^[[:space:]]${D}:/:")
                if [[ -n ${f} ]] ; then
                        echo "${f}" > "${T}"/scanelf-missing-NEEDED.log
                        if [[ "${QA_STRICT_DT_NEEDED-unset}" == unset ]] ; then