Store the true path instead of the unprefixed path, such that the paths in NEEDED...
authorFabian Groffen <grobian@gentoo.org>
Fri, 1 Feb 2008 21:37:05 +0000 (21:37 -0000)
committerFabian Groffen <grobian@gentoo.org>
Fri, 1 Feb 2008 21:37:05 +0000 (21:37 -0000)
svn path=/main/branches/prefix/; revision=9269

bin/misc-functions.sh

index 3e281cafec9929b372b5ea614bad5692b46a67a1..c775722d0130486c6905b20fb01fc7120f6a3e30 100644 (file)
@@ -160,7 +160,7 @@ install_qa_check() {
                fi
 
                # Save NEEDED information
-               scanelf -qyRF '%p %n' "${ED}" | sed -e 's:^:/:' > "${PORTAGE_BUILDDIR}"/build-info/NEEDED
+               scanelf -qyRF '%p %n' "${D}" | sed -e 's:^:/:' > "${PORTAGE_BUILDDIR}"/build-info/NEEDED
 
                if [[ ${insecure_rpath} -eq 1 ]] ; then
                        die "Aborting due to serious QA concerns with RUNPATH/RPATH"